[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/shift-int64.ll

Chris Lattner lattner at cs.uiuc.edu
Fri Apr 1 18:42:13 PST 2005



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

shift-int64.ll added (r1.1)
---
Log message:

new generic testcsae


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

 shift-int64.ll |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/test/Regression/CodeGen/Generic/shift-int64.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Generic/shift-int64.ll:1.1
*** /dev/null	Fri Apr  1 20:42:06 2005
--- llvm/test/Regression/CodeGen/Generic/shift-int64.ll	Fri Apr  1 20:41:55 2005
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc
+ 
+ long %test_imm(long %X) {
+    %Y = shr long %X, ubyte 17 
+    ret long %Y
+ }
+ 
+ long %test_variable(long %X, ubyte %Amt) {
+    %Y = shr long %X, ubyte %Amt
+    ret long %Y
+ }






More information about the llvm-commits mailing list