Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 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 | } |