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:
Chris Lattner 2006-01-06 07:48:28 +00:00
parent 830ed03e8b
commit 6c7fbb8503

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
}