[llvm] 4799fb6 - [GlobalISel] Delete unused variable after r353432
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 16 08:32:34 PDT 2020
Author: Fangrui Song
Date: 2020-06-16T08:32:09-07:00
New Revision: 4799fb63b5513f655ca8e85416ec8fe35df49bae
URL: https://github.com/llvm/llvm-project/commit/4799fb63b5513f655ca8e85416ec8fe35df49bae
DIFF: https://github.com/llvm/llvm-project/commit/4799fb63b5513f655ca8e85416ec8fe35df49bae.diff
LOG: [GlobalISel] Delete unused variable after r353432
Added:
Modified:
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
index 61d92cb33e11..dfc4eba93568 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -2719,7 +2719,6 @@ LegalizerHelper::fewerElementsVectorMultiEltType(
SmallVector<Register, 4> PartRegs, LeftoverRegs;
for (unsigned I = 1, E = MI.getNumOperands(); I != E; ++I) {
- LLT LeftoverTy;
Register SrcReg = MI.getOperand(I).getReg();
LLT SrcTyI = MRI.getType(SrcReg);
LLT NarrowTyI = LLT::scalarOrVector(NewNumElts, SrcTyI.getScalarType());
More information about the llvm-commits
mailing list