blob: 3751d6698e52cfae21a12b4df886445d09193140 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Make sure this testcase does not use ctpop
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep -i cntlzw
3
4declare uint %llvm.cttz.i32(uint)
5
6implementation ; Functions:
7
8uint %bar(uint %x) {
9entry:
10 %tmp.1 = call uint %llvm.cttz.i32( uint %x )
11 ret uint %tmp.1
12}