blob: 97a29a7f22916a9e66e7dcfc5e196813ba85bd0b [file] [log] [blame]
Andrew Lenharthe8aebf72005-05-04 15:56:34 +00001; Make sure this testcase codegens to the ctpop instruction
Andrew Lenharth14197112005-05-04 15:20:16 +00002; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctpop'
3
4declare long %llvm.ctpop(long)
5
6implementation ; Functions:
7
8long %bar(long %x) {
9entry:
10 %tmp.1 = call long %llvm.ctpop( long %x )
11 ret long %tmp.1
12}