[PATCH] D12338: Make `llvm::expandAtomicRMWToCmpXchg`'s initial load atomic.

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 14:28:28 PDT 2015


jfb added inline comments.

================
Comment at: test/Transforms/AtomicExpand/X86/expand-atomic-rmw-initial-load.ll:7
@@ -7,2 +6,3 @@
+define i8 @test_initial_load_seq_cst(i8* %ptr, i8 %value) {
   %res = atomicrmw nand i8* %ptr, i8 %value seq_cst
   ret i8 %res
----------------
Also `relaxed`, `acquire`, `release` (which should stay as-is).


http://reviews.llvm.org/D12338





More information about the llvm-commits mailing list