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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed May 4 08:51:24 PDT 2005



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

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

see if the legalize code propery compensates for the additional zeros introduced

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

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


Index: llvm/test/Regression/CodeGen/Alpha/ctlz.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Alpha/ctlz.ll:1.1
*** /dev/null	Wed May  4 10:51:17 2005
--- llvm/test/Regression/CodeGen/Alpha/ctlz.ll	Wed May  4 10:51:07 2005
***************
*** 0 ****
--- 1,12 ----
+ ; Make sure this testcase codegens to the bic instruction
+ ; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctlz'
+ 
+ declare ubyte %llvm.ctlz(ubyte)
+ 
+ implementation   ; Functions:
+ 
+ ubyte %bar(ubyte %x) {
+ entry:
+ 	%tmp.1 = call ubyte %llvm.ctlz( ubyte %x ) 
+ 	ret ubyte %tmp.1
+ }






More information about the llvm-commits mailing list