diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 419784d47a4..ca97ed30a3c 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -2829,8 +2829,6 @@ static unsigned getConstraintGenerality(TargetLowering::ConstraintType CT) { int TargetLowering::getMultipleConstraintMatchWeight( AsmOperandInfo &info, int maIndex) const { std::vector &rCodes = info.multipleAlternatives[maIndex].Codes; - int matchingInput = info.multipleAlternatives[maIndex].MatchingInput; - TargetLowering::ConstraintType BestType = TargetLowering::C_Unknown; int BestWeight = -1; // Loop over the options, keeping track of the most general one.