[llvm-commits] [vector_llvm] CVS: llvm/test/Regression/CodeGen/IA64/2005-10-29-shladd.ll

Robert Bocchino bocchino at cs.uiuc.edu
Wed Nov 16 10:33:31 PST 2005



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

2005-10-29-shladd.ll added (r1.1.4.2)
---
Log message:

Merged mainline into Vector LLVM branch


---
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.4.2
*** /dev/null	Wed Nov 16 12:33:29 2005
--- llvm/test/Regression/CodeGen/IA64/2005-10-29-shladd.ll	Wed Nov 16 12:33:19 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