[X86] LowerGC_TRANSITION - remove redundant SDLoc().

This commit is contained in:
Simon Pilgrim 2022-06-07 10:50:21 +01:00
parent dd32bf9a77
commit 63e3035dbe
1 changed files with 1 additions and 5 deletions

View File

@ -31800,16 +31800,12 @@ SDValue X86TargetLowering::LowerGC_TRANSITION(SDValue Op,
// require special handling for these nodes), lower them as literal NOOPs for
// the time being.
SmallVector<SDValue, 2> Ops;
Ops.push_back(Op.getOperand(0));
if (Op->getGluedNode())
Ops.push_back(Op->getOperand(Op->getNumOperands() - 1));
SDLoc OpDL(Op);
SDVTList VTs = DAG.getVTList(MVT::Other, MVT::Glue);
SDValue NOOP(DAG.getMachineNode(X86::NOOP, SDLoc(Op), VTs, Ops), 0);
return NOOP;
return SDValue(DAG.getMachineNode(X86::NOOP, SDLoc(Op), VTs, Ops), 0);
}
// Custom split CVTPS2PH with wide types.