atomics: Add generic atom[ic]_and

Not used yet.

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 217913
GitOrigin-RevId: cc68405761aad969df146825e5fa08174f060ea1
8 files changed