PowerPC: Expand VSELECT nodes.
[oota-llvm.git] / test / CodeGen / PowerPC / cttz.ll
1 ; Make sure this testcase does not use ctpop
2 ; RUN: llc < %s -march=ppc32 | grep -i cntlzw
3
4 declare i32 @llvm.cttz.i32(i32, i1)
5
6 define i32 @bar(i32 %x) {
7 entry:
8         %tmp.1 = call i32 @llvm.cttz.i32( i32 %x, i1 true )              ; <i32> [#uses=1]
9         ret i32 %tmp.1
10 }
11