git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148230
91177308-0d34-0410-b5e6-
96231b3b80d8
if (MsbMask == DemandedMask) {
unsigned ShAmt = ExVT.getScalarType().getSizeInBits();
SDValue InOp = Op.getOperand(0);
- EVT InVT = Op.getOperand(0).getValueType();
- EVT ShTy = getShiftAmountTy(InVT);
// In this code we may handle vector types. We can't use the
// getShiftAmountTy API because it only works on scalars.
// We use the shift value type because we know that its an integer
}
static SDValue LowerVectorFP_TO_INT(SDValue Op, SelectionDAG &DAG) {
- EVT VT = Op.getValueType();
- assert(VT.getVectorElementType() == MVT::i32 && "Unexpected custom lowering");
+ assert(Op.getValueType().getVectorElementType() == MVT::i32
+ && "Unexpected custom lowering");
if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::f32)
return Op;