[PATCH] D15471: [IR] Add support for floating pointer atomic loads and stores
Ben Craig via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 14 13:25:22 PST 2015
bcraig added a subscriber: bcraig.
Comment at: test/CodeGen/X86/atomic-non-integer.ll:49
@@ +48,3 @@
+; CHECK: movd %rax, %xmm0
+ %v = load atomic double, double* %fptr unordered, align 8
+ ret double %v
All of your llc tests are currently testing unordered accesses. The interesting code gen on X86 is with seq_cst stores. I recommend adding tests for those, and ensuring that you get the appropriate [lock] xchg operations.
More information about the llvm-commits