Add CodeGen tests for the recent SelectionDAG transforms
[oota-llvm.git] / test / CodeGen / PowerPC / setcc_no_zext.ll
1 ; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-pattern-isel | not grep rlwinm
2
3 int %setcc_one_or_zero(int* %a) {
4 entry:
5         %tmp.1 = setne int* %a, null
6         %inc.1 = cast bool %tmp.1 to int
7         ret int %inc.1
8 }