new testcase

llvm-svn: 32008
This commit is contained in:
Chris Lattner 2006-11-29 07:03:00 +00:00
parent 7b34c1391a
commit 544dfa013c
1 changed files with 8 additions and 0 deletions
llvm/test/Regression/Transforms/InstCombine

View File

@ -211,3 +211,11 @@ uint %test33(uint %c1) {
%y = bitcast float %x to uint
ret uint %y
}
ushort %test34(ushort %a) {
%c1 = zext ushort %a to int
%tmp21 = lshr int %c1, ubyte 8
%c2 = trunc int %tmp21 to ushort
ret ushort %c2
}