summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
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
commitbe0429c5585dbe874393c63c1efc142bcbcf6bc7 (patch)
tree42f2205dad38e1100113090630d4880ee554ef06 /llvm/test/CodeGen/PowerPC
parentd7667bd8e051707653d9bc932a5c72d008fb2f94 (diff)
downloadbcm5719-llvm-be0429c5585dbe874393c63c1efc142bcbcf6bc7.tar.gz
bcm5719-llvm-be0429c5585dbe874393c63c1efc142bcbcf6bc7.zip
ISD::UNDEF should be expanded recursively / iteratively.
llvm-svn: 52508
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll b/llvm/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
new file mode 100644
index 00000000000..d337e377309
--- /dev/null
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud