summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-30 06:28:53 +0000
committerChris Lattner <sabre@nondot.org>2004-11-30 06:28:53 +0000
commit93e6d8329c94b4f107150c29b1a6b535156c8608 (patch)
tree20123471d0ad7484b13cf1921ab47839c293a9ac /test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
parent6f9e5715298055c63178557f891d28f266f08814 (diff)
downloadllvm-93e6d8329c94b4f107150c29b1a6b535156c8608.tar.gz
llvm-93e6d8329c94b4f107150c29b1a6b535156c8608.tar.bz2
llvm-93e6d8329c94b4f107150c29b1a6b535156c8608.tar.xz
New testcase that crashes the PPC backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/2004-11-30-shift-crash.ll')
-rw-r--r--test/CodeGen/PowerPC/2004-11-30-shift-crash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
new file mode 100644
index 0000000000..9c611649e6
--- /dev/null
+++ b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=ppc32
+
+void %main() {
+ %tr4 = shl ulong 1, ubyte 0 ; <ulong> [#uses=0]
+ ret void
+}