[llvm-commits] [llvm] r130818 - in /llvm/trunk/test/CodeGen/X86: x86-64-extend-shift.ll xor.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue May 3 18:01:47 PDT 2011


Author: stoklund
Date: Tue May  3 20:01:47 2011
New Revision: 130818

URL: http://llvm.org/viewvc/llvm-project?rev=130818&view=rev
Log:
Don't depend on the physreg coalescing order.

Modified:
    llvm/trunk/test/CodeGen/X86/x86-64-extend-shift.ll
    llvm/trunk/test/CodeGen/X86/xor.ll

Modified: llvm/trunk/test/CodeGen/X86/x86-64-extend-shift.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/x86-64-extend-shift.ll?rev=130818&r1=130817&r2=130818&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/x86-64-extend-shift.ll (original)
+++ llvm/trunk/test/CodeGen/X86/x86-64-extend-shift.ll Tue May  3 20:01:47 2011
@@ -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

Modified: llvm/trunk/test/CodeGen/X86/xor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/xor.ll?rev=130818&r1=130817&r2=130818&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/xor.ll (original)
+++ llvm/trunk/test/CodeGen/X86/xor.ll Tue May  3 20:01:47 2011
@@ -29,9 +29,8 @@
         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 @@
   %t2 = add i32 %t1, -1
   ret i32 %t2
 ; X64: test8:
-; X64:   notl %eax
+; X64:   notl {{%eax|%edi|%ecx}}
 ; X32: test8:
 ; X32:   notl %eax
 }





More information about the llvm-commits mailing list