summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2010-10-08-cmpxchg8b.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2010-10-08-cmpxchg8b.ll')
-rw-r--r--test/CodeGen/X86/2010-10-08-cmpxchg8b.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2010-10-08-cmpxchg8b.ll b/test/CodeGen/X86/2010-10-08-cmpxchg8b.ll
index f69cedc4d3..ebf51a5d66 100644
--- a/test/CodeGen/X86/2010-10-08-cmpxchg8b.ll
+++ b/test/CodeGen/X86/2010-10-08-cmpxchg8b.ll
@@ -18,7 +18,8 @@ entry:
loop:
; CHECK: lock
; CHECK-NEXT: cmpxchg8b
- %r = cmpxchg i64* %ptr, i64 0, i64 1 monotonic monotonic
+ %pair = cmpxchg i64* %ptr, i64 0, i64 1 monotonic monotonic
+ %r = extractvalue { i64, i1 } %pair, 0
%stored1 = icmp eq i64 %r, 0
br i1 %stored1, label %loop, label %continue
continue: