1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

New testcases

llvm-svn: 8603
This commit is contained in:
Chris Lattner 2003-09-19 15:33:46 +00:00
parent baf966331e
commit 9f0201760e

View File

@ -93,3 +93,15 @@ uint %test14(uint %offset, uint %difference) {
ret uint %tmp.8
}
ubyte %test15(ubyte %A) {
%B = add ubyte %A, 192 ; Does not effect result
%C = and ubyte %B, 16 ; Only one bit set
ret ubyte %C
}
ubyte %test16(ubyte %A) {
%B = add ubyte %A, 16 ; Turn this into a XOR
%C = and ubyte %B, 16 ; Only one bit set
ret ubyte %C
}