aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/coalescer-remat.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/coalescer-remat.ll')
-rw-r--r--test/CodeGen/X86/coalescer-remat.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/coalescer-remat.ll b/test/CodeGen/X86/coalescer-remat.ll
index 468b70b..bb08a0e 100644
--- a/test/CodeGen/X86/coalescer-remat.ll
+++ b/test/CodeGen/X86/coalescer-remat.ll
@@ -5,7 +5,8 @@
define i32 @main() nounwind {
entry:
- %0 = cmpxchg i64* @val, i64 0, i64 1 monotonic monotonic
+ %t0 = cmpxchg i64* @val, i64 0, i64 1 monotonic monotonic
+ %0 = extractvalue { i64, i1 } %t0, 0
%1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr ([7 x i8]* @"\01LC", i32 0, i64 0), i64 %0) nounwind
ret i32 0
}