forked from OSchip/llvm-project
parent
fe1202c4cb
commit
ae7c97d39d
|
@ -9848,7 +9848,7 @@ SDValue PPCTargetLowering::DAGCombineTruncBoolExt(SDNode *N,
|
|||
|
||||
std::list<HandleSDNode> PromOpHandles;
|
||||
for (auto &PromOp : PromOps)
|
||||
PromOpHandles.emplace_back(PromOp);
|
||||
PromOpHandles.emplace_back(PromOp);
|
||||
|
||||
// Replace all operations (these are all the same, but have a different
|
||||
// (i1) return type). DAG.getNode will validate that the types of
|
||||
|
@ -10102,7 +10102,7 @@ SDValue PPCTargetLowering::DAGCombineExtBoolTrunc(SDNode *N,
|
|||
|
||||
std::list<HandleSDNode> PromOpHandles;
|
||||
for (auto &PromOp : PromOps)
|
||||
PromOpHandles.emplace_back(PromOp);
|
||||
PromOpHandles.emplace_back(PromOp);
|
||||
|
||||
// Replace all operations (these are all the same, but have a different
|
||||
// (promoted) return type). DAG.getNode will validate that the types of
|
||||
|
@ -10555,7 +10555,7 @@ SDValue PPCTargetLowering::PerformDAGCombine(SDNode *N,
|
|||
if (Bitcast->getOpcode() != ISD::BITCAST ||
|
||||
Bitcast->getValueType(0) != MVT::f32)
|
||||
return false;
|
||||
if (Bitcast2->getOpcode() != ISD::BITCAST ||
|
||||
if (Bitcast2->getOpcode() != ISD::BITCAST ||
|
||||
Bitcast2->getValueType(0) != MVT::f32)
|
||||
return false;
|
||||
|
||||
|
|
|
@ -72,9 +72,9 @@ static void tieOpsIfNeeded(MachineInstr &MI) {
|
|||
|
||||
// MI loads one word of a GPR using an IIxF instruction and LLIxL and LLIxH
|
||||
// are the halfword immediate loads for the same word. Try to use one of them
|
||||
// instead of IIxF.
|
||||
bool SystemZShortenInst::shortenIIF(MachineInstr &MI,
|
||||
unsigned LLIxL, unsigned LLIxH) {
|
||||
// instead of IIxF.
|
||||
bool SystemZShortenInst::shortenIIF(MachineInstr &MI, unsigned LLIxL,
|
||||
unsigned LLIxH) {
|
||||
unsigned Reg = MI.getOperand(0).getReg();
|
||||
// The new opcode will clear the other half of the GR64 reg, so
|
||||
// cancel if that is live.
|
||||
|
|
Loading…
Reference in New Issue