forked from OSchip/llvm-project
parent
1a80201426
commit
5b80ecbcf5
|
@ -2879,11 +2879,11 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
|||
case TargetLowering::Legal:
|
||||
Result = DAG.UpdateNodeOperands(Result, Tmp1);
|
||||
if (TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0)) ==
|
||||
TargetLowering::Custom) {
|
||||
Tmp1 = TLI.LowerOperation(Result, DAG);
|
||||
if (Tmp1.Val) {
|
||||
Result = Tmp1;
|
||||
}
|
||||
TargetLowering::Custom) {
|
||||
Tmp1 = TLI.LowerOperation(Result, DAG);
|
||||
if (Tmp1.Val) {
|
||||
Result = Tmp1;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case TargetLowering::Promote: {
|
||||
|
|
Loading…
Reference in New Issue