1 ; Make sure this testcase codegens to the ctpop instruction
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha -mcpu=ev67 | grep -i ctpop
3 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha -mattr=+CIX | \
5 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha -mcpu=ev6 | \
6 ; RUN: not grep -i ctpop
7 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha -mcpu=ev56 | \
8 ; RUN: not grep -i ctpop
9 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha -mattr=-CIX | \
10 ; RUN: not grep -i ctpop
12 declare long %llvm.ctpop.i64(long)
14 implementation ; Functions:
18 %tmp.1 = call long %llvm.ctpop.i64( long %x )