3a06a415c21137bc10fc2efc72fc20ba92f4b725
[oota-llvm.git] / test / CodeGen / SPARC / xnor.ll
1 ; RUN: llvm-as < %s | llc -march=sparc &&
2 ; RUN: llvm-as < %s | llc -march=sparc | grep xnor | wc -l | grep 2
3
4 int %test1(int %X, int %Y) {
5         %A = xor int %X, %Y
6         %B = xor int %A, -1
7         ret int %B
8 }
9
10 int %test2(int %X, int %Y) {
11         %A = xor int %X, -1
12         %B = xor int %A, %Y
13         ret int %B
14 }