blob: 9209bf2080263e9e003f60aee1a3966d8431dbd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; Make sure this testcase codegens to the ctpop instruction
; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctpop'
declare long %llvm.ctpop(long)
implementation ; Functions:
long %bar(long %x) {
entry:
%tmp.1 = call long %llvm.ctpop( long %x )
ret long %tmp.1
}
|