aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-06-19 22:01:11 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-06-19 22:01:11 +0000
commitc8af52c8980fa4a06f24e6fc08678ff8378088a1 (patch)
treef3cb522aff7beee1b36fa6015d183ad932f82560 /test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
parentaa0b63422a2170c82e89215bcb7c5c383df62989 (diff)
ISD::UNDEF should be expanded recursively / iteratively.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52508 91177308-0d34-0410-b5e6-96231b3b80d8
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
+}