summaryrefslogtreecommitdiff
path: root/test/Feature/testlogical.ll
blob: d1f8c2516a68bca86b4a6140fa41c966b9075808 (plain)
1
2
3
4
5
6
7
8
9
10
implementation

int "simpleAdd"(int %i0, int %j0)
begin
	%t1 = xor int %i0, %j0
	%t2 = or int %i0, %j0
	%t3 = and int %t1, %t2
	ret int %t3
end