[llvm] r346332 - Fix ignorded type qualifier warning [NFC]
Serge Guelton via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 7 08:17:30 PST 2018
Author: serge_sans_paille
Date: Wed Nov 7 08:17:30 2018
New Revision: 346332
URL: http://llvm.org/viewvc/llvm-project?rev=346332&view=rev
Log:
Fix ignorded type qualifier warning [NFC]
Modified:
llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp
Modified: llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp?rev=346332&r1=346331&r2=346332&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp Wed Nov 7 08:17:30 2018
@@ -1104,7 +1104,7 @@ void TargetLoweringBase::computeRegister
LegalIntReg = IntReg;
} else {
RegisterTypeForVT[IntReg] = TransformToType[IntReg] =
- (const MVT::SimpleValueType)LegalIntReg;
+ (MVT::SimpleValueType)LegalIntReg;
ValueTypeActions.setTypeAction(IVT, TypePromoteInteger);
}
}
More information about the llvm-commits
mailing list