aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll')
-rw-r--r--test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll b/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
new file mode 100644
index 0000000000..d337e37730
--- /dev/null
+++ b/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=ppc32
+
+define void @t() nounwind {
+ call void null( ppc_fp128 undef )
+ unreachable
+}