mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
New testcase for logical operators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
51b49a9633
commit
5a23ddfa17
16
test/ExecutionEngine/test-logical.ll
Normal file
16
test/ExecutionEngine/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…
x
Reference in New Issue
Block a user