1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

ISD::UNDEF should be expanded recursively / iteratively.

llvm-svn: 52508
This commit is contained in:
Evan Cheng 2008-06-19 22:01:11 +00:00
parent c979fcf8ff
commit 4006f4cdf0
2 changed files with 6 additions and 1 deletions

View File

@ -5832,7 +5832,6 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
Lo = ExpandEXTRACT_VECTOR_ELT(Op);
return ExpandOp(Lo, Lo, Hi);
case ISD::UNDEF:
NVT = TLI.getTypeToExpandTo(VT);
Lo = DAG.getNode(ISD::UNDEF, NVT);
Hi = DAG.getNode(ISD::UNDEF, NVT);
break;

View File

@ -0,0 +1,6 @@
; RUN: llvm-as < %s | llc -march=ppc32
define void @t() nounwind {
call void null( ppc_fp128 undef )
unreachable
}