1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

New tests

llvm-svn: 7256
This commit is contained in:
Chris Lattner 2003-07-23 17:01:18 +00:00
parent 8a92405de7
commit eaf43bbfae

View File

@ -86,3 +86,16 @@ bool %test15(sbyte %A, short %A, int %A, long %A) {
%D = or bool %C1, %C2
ret bool %D
}
bool %test16(uint %A) {
%B = and uint %A, 5
%C = seteq uint %B, 8 ; Is never true
ret bool %C
}
bool %test17(ubyte %A) {
%B = or ubyte %A, 1
%C = seteq ubyte %B, 2 ; Always false
ret bool %C
}