Fix typo.
[oota-llvm.git] / test / CodeGen / PowerPC / seteq-0.ll
1 ; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | FileCheck %s
2
3 define i32 @eq0(i32 %a) {
4         %tmp.1 = icmp eq i32 %a, 0              ; <i1> [#uses=1]
5         %tmp.2 = zext i1 %tmp.1 to i32          ; <i32> [#uses=1]
6         ret i32 %tmp.2
7
8 ; CHECK: cntlz [[REG:r[0-9]+]], r3
9 ; CHECK: rlwinm r3, [[REG]], 27, 31, 31
10 ; CHECK: blr
11 }
12