mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
A case that instcombine is not catching.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
830ed03e8b
commit
6c7fbb8503
@ -180,3 +180,10 @@ uint %test25(uint %tmp.2, uint %AA) {
|
||||
ret uint %tmp.6
|
||||
}
|
||||
|
||||
int %test26(uint %A) { ;; handle casts between shifts.
|
||||
%B = shr uint %A, ubyte 1
|
||||
%C = cast uint %B to int
|
||||
%D = shl int %C, ubyte 1
|
||||
ret int %D
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user