Fix ignorded type qualifier warning [NFC]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Serge Guelton 2018-11-07 16:17:30 +00:00
parent 7a2b35fa20
commit 7c7c0a2cd9

View File

@ -1104,7 +1104,7 @@ void TargetLoweringBase::computeRegisterProperties(
LegalIntReg = IntReg;
} else {
RegisterTypeForVT[IntReg] = TransformToType[IntReg] =
(const MVT::SimpleValueType)LegalIntReg;
(MVT::SimpleValueType)LegalIntReg;
ValueTypeActions.setTypeAction(IVT, TypePromoteInteger);
}
}