diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Bitcode/cmpxchg.3.6.ll | 13 | ||||
-rw-r--r-- | llvm/test/Bitcode/cmpxchg.3.6.ll.bc | bin | 0 -> 488 bytes |
2 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/cmpxchg.3.6.ll b/llvm/test/Bitcode/cmpxchg.3.6.ll new file mode 100644 index 00000000000..bec51a128c3 --- /dev/null +++ b/llvm/test/Bitcode/cmpxchg.3.6.ll @@ -0,0 +1,13 @@ +; RUN: llvm-dis < %s.bc | FileCheck %s + +define void @f2(i32* %x, i32 %y.orig, i32 %z) { +entry: + br label %a +b: + cmpxchg i32* %x, i32 %y, i32 %z acquire acquire +; CHECK: cmpxchg i32* %x, i32 %y, i32 %z acquire acquire + ret void +a: + %y = add i32 %y.orig, 1 + br label %a +} diff --git a/llvm/test/Bitcode/cmpxchg.3.6.ll.bc b/llvm/test/Bitcode/cmpxchg.3.6.ll.bc Binary files differnew file mode 100644 index 00000000000..1c66f934324 --- /dev/null +++ b/llvm/test/Bitcode/cmpxchg.3.6.ll.bc |