summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll b/llvm/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
new file mode 100644
index 00000000000..e2a00d1e6e0
--- /dev/null
+++ b/llvm/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
+
+void %main() {
+ %tr1 = shr uint 1, ubyte 0
+ ret void
+}
OpenPOWER on IntegriCloud