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