[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/ctpop.ll

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed May 4 08:20:32 PDT 2005



Changes in directory llvm/test/Regression/CodeGen/Alpha:

ctpop.ll added (r1.1)
---
Log message:

added a use of ctpop to debug stuff with

---
Diffs of the changes:  (+12 -0)

 ctpop.ll |   12 ++++++++++++
 1 files changed, 12 insertions(+)


Index: llvm/test/Regression/CodeGen/Alpha/ctpop.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Alpha/ctpop.ll:1.1
*** /dev/null	Wed May  4 10:20:26 2005
--- llvm/test/Regression/CodeGen/Alpha/ctpop.ll	Wed May  4 10:20:16 2005
***************
*** 0 ****
--- 1,12 ----
+ ; Make sure this testcase codegens to the bic instruction
+ ; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep '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
+ }






More information about the llvm-commits mailing list