forked from OSchip/llvm-project
[X86] LowerGC_TRANSITION - remove redundant SDLoc().
This commit is contained in:
parent
dd32bf9a77
commit
63e3035dbe
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue