New testcase for instcombine

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-05-13 02:00:07 +00:00
parent 2144c25364
commit 5250bae5ee

View File

@ -185,3 +185,12 @@ uint %test29(uint %c1, uint %c2) {
ret uint %tmp10
}
uint %test30(uint %c1) {
%c2 = cast uint %c1 to ubyte
%c3 = xor ubyte %c2, 1
%c4 = cast ubyte %c3 to uint
ret uint %c4
}