summaryrefslogtreecommitdiff
path: root/test/Bitcode/atomic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Bitcode/atomic.ll')
-rw-r--r--test/Bitcode/atomic.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Bitcode/atomic.ll b/test/Bitcode/atomic.ll
index 37815a749b55..c09e74c1c2f2 100644
--- a/test/Bitcode/atomic.ll
+++ b/test/Bitcode/atomic.ll
@@ -1,4 +1,5 @@
; RUN: llvm-as %s -o - | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder < %s
define void @test_cmpxchg(i32* %addr, i32 %desired, i32 %new) {
cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
@@ -14,4 +15,4 @@ define void @test_cmpxchg(i32* %addr, i32 %desired, i32 %new) {
; CHECK: cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread release monotonic
ret void
-} \ No newline at end of file
+}