mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
A case that instcombine is not catching.
llvm-svn: 25127
This commit is contained in:
parent
410db54bbf
commit
e585f4fa9d
@ -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…
x
Reference in New Issue
Block a user