mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[MSP430] Remove unused MVT::Glue output from MSP430ISD::SELECT_CC nodes.
Follow up from a similar patch on RISCV 637f19c36b323cc3ab597f6ef138db53be395949 Nothing reads this Glue value that I could see. The SDNode def in the td file does not have the SDNPOutGlue flag so I don't think this glue would get properly propagated to MachineSDNodes if it was used.
This commit is contained in:
parent
376553e355
commit
fbc8fa8586
@ -1208,9 +1208,8 @@ SDValue MSP430TargetLowering::LowerSETCC(SDValue Op, SelectionDAG &DAG) const {
|
||||
return SR;
|
||||
} else {
|
||||
SDValue Zero = DAG.getConstant(0, dl, VT);
|
||||
SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue);
|
||||
SDValue Ops[] = {One, Zero, TargetCC, Flag};
|
||||
return DAG.getNode(MSP430ISD::SELECT_CC, dl, VTs, Ops);
|
||||
return DAG.getNode(MSP430ISD::SELECT_CC, dl, Op.getValueType(), Ops);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1226,10 +1225,9 @@ SDValue MSP430TargetLowering::LowerSELECT_CC(SDValue Op,
|
||||
SDValue TargetCC;
|
||||
SDValue Flag = EmitCMP(LHS, RHS, TargetCC, CC, dl, DAG);
|
||||
|
||||
SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue);
|
||||
SDValue Ops[] = {TrueV, FalseV, TargetCC, Flag};
|
||||
|
||||
return DAG.getNode(MSP430ISD::SELECT_CC, dl, VTs, Ops);
|
||||
return DAG.getNode(MSP430ISD::SELECT_CC, dl, Op.getValueType(), Ops);
|
||||
}
|
||||
|
||||
SDValue MSP430TargetLowering::LowerSIGN_EXTEND(SDValue Op,
|
||||
|
Loading…
Reference in New Issue
Block a user