summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/2004-11-30-shift-crash.ll')
-rw-r--r--test/CodeGen/PowerPC/2004-11-30-shift-crash.ll7
1 files changed, 7 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 0000000..c3bfa49
--- /dev/null
+++ b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
@@ -0,0 +1,7 @@
+; RUN: llc < %s -march=ppc32
+
+define void @main() {
+ %tr4 = shl i64 1, 0 ; <i64> [#uses=0]
+ ret void
+}
+