summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/CodeGen/Generic/shift-int64.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-02 02:41:55 +0000
committerChris Lattner <sabre@nondot.org>2005-04-02 02:41:55 +0000
commit07e3f7e1ff631edc4077b2fa550eda4e03bb23f8 (patch)
treeabc6744d31224e8cfaae109675d347478cb17069 /llvm/test/Regression/CodeGen/Generic/shift-int64.ll
parentcfc452d088445a1a70554074b3293f05e7d952e5 (diff)
downloadbcm5719-llvm-07e3f7e1ff631edc4077b2fa550eda4e03bb23f8.tar.gz
bcm5719-llvm-07e3f7e1ff631edc4077b2fa550eda4e03bb23f8.zip
new generic testcsae
llvm-svn: 20996
Diffstat (limited to 'llvm/test/Regression/CodeGen/Generic/shift-int64.ll')
-rw-r--r--llvm/test/Regression/CodeGen/Generic/shift-int64.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/Generic/shift-int64.ll b/llvm/test/Regression/CodeGen/Generic/shift-int64.ll
new file mode 100644
index 00000000000..50299af0713
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/Generic/shift-int64.ll
@@ -0,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
+}
OpenPOWER on IntegriCloud