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:
parent
4ab5a02fb1
commit
4275ffd6ff
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user