}
SDOperand NewSA =
- TLO.DAG.getConstant(ShAmt-C1, Op.getOperand(0).getValueType());
+ TLO.DAG.getConstant(ShAmt-C1, Op.getOperand(1).getValueType());
MVT::ValueType VT = Op.getValueType();
return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::SRL, VT,
InOp.getOperand(0), NewSA));
}
SDOperand NewSA =
- TLO.DAG.getConstant(Diff, Op.getOperand(0).getValueType());
+ TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, VT,
InOp.getOperand(0), NewSA));
}