mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-09-17 14:37:16 +03:00
7 lines
125 B
LLVM
7 lines
125 B
LLVM
|
define i32 @test1(i32 %x, i32 %y, i32 %z) {
|
||
|
%a = and i32 %z, %x
|
||
|
%b = and i32 %z, %y
|
||
|
%c = xor i32 %a, %b
|
||
|
ret i32 %c
|
||
|
}
|