Andrew Lenharth | 50d435f | 2005-05-11 17:23:41 +0000 | [diff] [blame^] | 1 | ; Make sure this testcase does not use ctpop |
2 | ; RUN: llvm-as < %s | llc -march=alpha | grep -i 'ctpop' |wc -l |grep 0 | ||||
3 | |||||
4 | declare ulong %llvm.ctlz(ulong) | ||||
5 | |||||
6 | implementation ; Functions: | ||||
7 | |||||
8 | ulong %bar(ulong %x) { | ||||
9 | entry: | ||||
10 | %tmp.1 = call ulong %llvm.ctlz( ulong %x ) | ||||
11 | ret ulong %tmp.1 | ||||
12 | } |