aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/test-logical.ll
blob: 732054d6f8831d6c71284f1745083c14c2044d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}