aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 01:01:47 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 01:01:47 +0000
commit20bc5acfb6a9649bf0629daaf0a72f4012424a83 (patch)
treedd6521344f78377546b0fee2aa008055e2bd7789 /test
parentc74399f8b4efc7ea5546780bbbd8cab85311b4c0 (diff)
downloadexternal_llvm-20bc5acfb6a9649bf0629daaf0a72f4012424a83.zip
external_llvm-20bc5acfb6a9649bf0629daaf0a72f4012424a83.tar.gz
external_llvm-20bc5acfb6a9649bf0629daaf0a72f4012424a83.tar.bz2
Don't depend on the physreg coalescing order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/x86-64-extend-shift.ll2
-rw-r--r--test/CodeGen/X86/xor.ll7
2 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGen/X86/x86-64-extend-shift.ll b/test/CodeGen/X86/x86-64-extend-shift.ll
index 6852785..6ebaeee 100644
--- a/test/CodeGen/X86/x86-64-extend-shift.ll
+++ b/test/CodeGen/X86/x86-64-extend-shift.ll
@@ -2,7 +2,7 @@
; Formerly there were two shifts.
define i64 @baz(i32 %A) nounwind {
-; CHECK: shlq $49, %rax
+; CHECK: shlq $49, %r
%tmp1 = shl i32 %A, 17
%tmp2 = zext i32 %tmp1 to i64
%tmp3 = shl i64 %tmp2, 32
diff --git a/test/CodeGen/X86/xor.ll b/test/CodeGen/X86/xor.ll
index b90d81a..178c59d 100644
--- a/test/CodeGen/X86/xor.ll
+++ b/test/CodeGen/X86/xor.ll
@@ -29,9 +29,8 @@ entry:
ret i32 %tmp4
; X64: test3:
-; X64: notl [[A1:%esi|%edx]]
-; X64: andl [[A0:%edi|%ecx]], [[A1]]
-; X64: movl [[A1]], %eax
+; X64: notl
+; X64: andl
; X64: shrl %eax
; X64: ret
@@ -139,7 +138,7 @@ entry:
%t2 = add i32 %t1, -1
ret i32 %t2
; X64: test8:
-; X64: notl %eax
+; X64: notl {{%eax|%edi|%ecx}}
; X32: test8:
; X32: notl %eax
}