1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Add an expand action for ISD label which just deletes the label.

This "fixes" PR1238.

llvm-svn: 34890
This commit is contained in:
Chris Lattner 2007-03-03 19:21:38 +00:00
parent 4ab5a02fb1
commit 4275ffd6ff

View File

@ -879,6 +879,9 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
Tmp2 = LegalizeOp(Node->getOperand(1)); // Legalize the label id.
Result = DAG.UpdateNodeOperands(Result, Tmp1, Tmp2);
break;
case TargetLowering::Expand:
Result = LegalizeOp(Node->getOperand(0));
break;
}
break;