1
0
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:
Chris Lattner 2006-01-06 07:48:28 +00:00
parent 410db54bbf
commit e585f4fa9d

View File

@ -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
}