blob: 681c288cffa5d0f3b8983c197f554d1aa9a3d558 [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 Lenharth14197112005-05-04 15:20:16 +00003; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctpop'
4
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}