Call getOperandInfo() instead of using (near) duplicated code in LoopVectorizationCostModel::getInstructionCost().
This gets the OperandValueKind and OperandValueProperties values for a Value passed as operand to an arithmetic instruction.
getOperandInfo() used to be a static method in TargetTransformInfo.cpp, but is now instead a public member. The method definition has been moved in the .cpp file to above getArithmeticInstrCost(), from the area of the static functions.
Can TargetTransformInfo:: be dropped now that it is defined as a member function? That might make it slightly easier to read.