Expand FP undef

llvm-svn: 32623
This commit is contained in:
Evan Cheng 2006-12-16 02:20:50 +00:00
parent c396e18e8e
commit a966bf47ec

View File

@ -4523,6 +4523,7 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
assert(0 && "Do not know how to expand this operator!");
abort();
case ISD::UNDEF:
NVT = TLI.getTypeToExpandTo(VT);
Lo = DAG.getNode(ISD::UNDEF, NVT);
Hi = DAG.getNode(ISD::UNDEF, NVT);
break;