Andrew Lenharth | e8aebf7 | 2005-05-04 15:56:34 +0000 | [diff] [blame^] | 1 | ; Make sure this testcase codegens to the ctpop instruction |
Andrew Lenharth | 1419711 | 2005-05-04 15:20:16 +0000 | [diff] [blame] | 2 | ; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctpop' |
3 | |||||
4 | declare long %llvm.ctpop(long) | ||||
5 | |||||
6 | implementation ; Functions: | ||||
7 | |||||
8 | long %bar(long %x) { | ||||
9 | entry: | ||||
10 | %tmp.1 = call long %llvm.ctpop( long %x ) | ||||
11 | ret long %tmp.1 | ||||
12 | } |