summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/test-logical.ll
blob: e6b628ac1c8b924f1a25ba0870cfaa5d5954468d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

int %main() {
	%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

	%A = and long 4, 8
	%B = or long %A, 7
	%C = xor long %B, %A

	ret int 0
}