[llvm-commits] 	CVS: llvm/test/Regression/CodeGen/IA64/2005-10-29-shladd.ll
    Duraid Madina 
    duraid at octopus.com.au
       
    Fri Oct 28 21:07:01 PDT 2005
    
    
  
Changes in directory llvm/test/Regression/CodeGen/IA64:
2005-10-29-shladd.ll added (r1.1)
---
Log message:
test for the formation of shladd
---
Diffs of the changes:  (+11 -0)
 2005-10-29-shladd.ll |   11 +++++++++++
 1 files changed, 11 insertions(+)
Index: llvm/test/Regression/CodeGen/IA64/2005-10-29-shladd.ll
diff -c /dev/null llvm/test/Regression/CodeGen/IA64/2005-10-29-shladd.ll:1.1
*** /dev/null	Fri Oct 28 23:07:00 2005
--- llvm/test/Regression/CodeGen/IA64/2005-10-29-shladd.ll	Fri Oct 28 23:06:50 2005
***************
*** 0 ****
--- 1,11 ----
+ ; this should turn into shladd 
+ ; RUN: llvm-as < %s | llc -march=ia64 | grep 'shladd'
+ 
+ implementation   ; Functions:
+ 
+ long %bogglesmoggle(long %X, long %Y) {
+ 	%A = shl long %X, ubyte 3
+ 	%B = add long %A, %Y 
+         ret long %B
+ }
+ 
    
    
More information about the llvm-commits
mailing list