AArch64/PowerPC/SystemZ/X86: This patch fixes the interface, usage, and all
[oota-llvm.git] / test / CodeGen / PowerPC / setcc_no_zext.ll
1 ; RUN: llc < %s -march=ppc32 | not grep rlwinm
2
3 define i32 @setcc_one_or_zero(i32* %a) {
4 entry:
5         %tmp.1 = icmp ne i32* %a, null          ; <i1> [#uses=1]
6         %inc.1 = zext i1 %tmp.1 to i32          ; <i32> [#uses=1]
7         ret i32 %inc.1
8 }
9