| Nate Begeman | e066d68 | 2005-05-11 23:45:54 +0000 | [diff] [blame] | 1 | ; Make sure this testcase does not use ctpop |
| 2 | ; RUN: llvm-as < %s | llc -march=ppc32 | grep -i 'cntlzw' | ||||
| 3 | |||||
| 4 | declare int %llvm.cttz(int) | ||||
| 5 | |||||
| 6 | implementation ; Functions: | ||||
| 7 | |||||
| 8 | int %bar(int %x) { | ||||
| 9 | entry: | ||||
| 10 | %tmp.1 = call int %llvm.cttz( int %x ) | ||||
| 11 | ret int %tmp.1 | ||||
| 12 | } | ||||