1 ; Make sure this testcase codegens to the ctpop instruction
2 ; RUN: llc < %s -march=alpha -mcpu=ev67 | grep -i ctpop
3 ; RUN: llc < %s -march=alpha -mattr=+CIX | \
5 ; RUN: llc < %s -march=alpha -mcpu=ev6 | \
6 ; RUN: not grep -i ctpop
7 ; RUN: llc < %s -march=alpha -mattr=-CIX | \
8 ; RUN: not grep -i ctpop
10 declare i64 @llvm.ctpop.i64(i64)
12 define i64 @bar(i64 %x) {
14 %tmp.1 = call i64 @llvm.ctpop.i64( i64 %x ) ; <i64> [#uses=1]