fix regression tests
[oota-llvm.git] / test / CodeGen / Alpha / ctpop.ll
1 ; Make sure this testcase codegens to the ctpop instruction
2 ; XFAIL: *
3 ; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i '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 }