1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix unused variable warning

This commit is contained in:
Guillaume Chatelet 2020-06-09 08:56:05 +00:00
parent 39fead6fda
commit 5893bc59fd

View File

@ -2010,8 +2010,8 @@ Align SelectionDAG::getReducedAlign(EVT VT, bool UseABI) {
EVT IntermediateVT;
MVT RegisterVT;
unsigned NumIntermediates;
unsigned NumRegs = TLI->getVectorTypeBreakdown(
*getContext(), VT, IntermediateVT, NumIntermediates, RegisterVT);
TLI->getVectorTypeBreakdown(*getContext(), VT, IntermediateVT,
NumIntermediates, RegisterVT);
Ty = IntermediateVT.getTypeForEVT(*getContext());
Align RedAlign2 = UseABI ? DL.getABITypeAlign(Ty) : DL.getPrefTypeAlign(Ty);
if (RedAlign2 < RedAlign)