blob: 5c84a2cb5c95ebc2e5ed838abf20904409451d17 [file] [log] [blame]
Andrew Lenharthe8aebf72005-05-04 15:56:34 +00001; Make sure this testcase codegens to the ctpop instruction
John Criswell1e497fe2005-05-13 17:36:00 +00002; XFAIL: *
Andrew Lenharth3cfc4012005-05-13 19:49:02 +00003; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctpop'
Andrew Lenharth14197112005-05-04 15:20:16 +00004
5declare long %llvm.ctpop(long)
6
7implementation ; Functions:
8
9long %bar(long %x) {
10entry:
11 %tmp.1 = call long %llvm.ctpop( long %x )
12 ret long %tmp.1
13}