summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-30 06:35:52 +0000
committerChris Lattner <sabre@nondot.org>2004-11-30 06:35:52 +0000
commitd510293e245518a3803868d0f8832ce12060f56d (patch)
tree2bb3641f3257835e7af2d8a2fdea1c43696b8821 /test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
parentb761433e81aae85d64b5b88826db80c58cbd0eb1 (diff)
downloadllvm-d510293e245518a3803868d0f8832ce12060f56d.tar.gz
llvm-d510293e245518a3803868d0f8832ce12060f56d.tar.bz2
llvm-d510293e245518a3803868d0f8832ce12060f56d.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll')
-rw-r--r--test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll b/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
new file mode 100644
index 0000000000..3e5e89d16e
--- /dev/null
+++ b/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=ppc32
+
+void %main() {
+ %tr1 = shr uint 1, ubyte 0
+ ret void
+}