new testcase that crashes llc
[oota-llvm.git] / test / CodeGen / PowerPC / cttz.ll
1 ; Make sure this testcase does not use ctpop
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep -i cntlzw
3
4 declare uint %llvm.cttz.i32(uint)
5
6 implementation   ; Functions:
7
8 uint %bar(uint %x) {
9 entry:
10         %tmp.1 = call uint %llvm.cttz.i32( uint %x ) 
11         ret uint %tmp.1
12 }