mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
New testcase for logical operators
llvm-svn: 4501
This commit is contained in:
parent
45000f0eb7
commit
32535a99f1
16
test/Regression/Jello/test-logical.ll
Normal file
16
test/Regression/Jello/test-logical.ll
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
void %test() {
|
||||||
|
%A = and sbyte 4, 8
|
||||||
|
%B = or sbyte %A, 7
|
||||||
|
%C = xor sbyte %B, %A
|
||||||
|
|
||||||
|
%A = and short 4, 8
|
||||||
|
%B = or short %A, 7
|
||||||
|
%C = xor short %B, %A
|
||||||
|
|
||||||
|
%A = and int 4, 8
|
||||||
|
%B = or int %A, 7
|
||||||
|
%C = xor int %B, %A
|
||||||
|
|
||||||
|
ret void
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user