diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-05-04 01:01:47 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-05-04 01:01:47 +0000 |
commit | f1b401800a264aa8e1166aaa03da0975a352229a (patch) | |
tree | 5c3abef8067f286fb9d2c509a5e3690ab370496a /llvm/test/CodeGen | |
parent | 5b5abb4ea1d7bf10610bac832891deff914cd09c (diff) | |
download | bcm5719-llvm-f1b401800a264aa8e1166aaa03da0975a352229a.tar.gz bcm5719-llvm-f1b401800a264aa8e1166aaa03da0975a352229a.zip |
Don't depend on the physreg coalescing order.
llvm-svn: 130818
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r-- | llvm/test/CodeGen/X86/x86-64-extend-shift.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/xor.ll | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/x86-64-extend-shift.ll b/llvm/test/CodeGen/X86/x86-64-extend-shift.ll index 6852785fd6a..6ebaeee3669 100644 --- a/llvm/test/CodeGen/X86/x86-64-extend-shift.ll +++ b/llvm/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/llvm/test/CodeGen/X86/xor.ll b/llvm/test/CodeGen/X86/xor.ll index b90d81ac9b1..178c59dbaa9 100644 --- a/llvm/test/CodeGen/X86/xor.ll +++ b/llvm/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 } |