mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
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
This commit is contained in:
parent
c74399f8b4
commit
20bc5acfb6
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user