Skip to content

Commit 0f61558

Browse files
authored
[LoopVectorize][NFC] Remove unused variable in addUsersInExitBlocks (llvm#124553)
We were allocating a VPTypeAnalysis object on the stack, but never using it for anything.
1 parent 1295aa2 commit 0f61558

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9072,7 +9072,6 @@ addUsersInExitBlocks(VPlan &Plan,
90729072

90739073
auto *MiddleVPBB = Plan.getMiddleBlock();
90749074
VPBuilder B(MiddleVPBB, MiddleVPBB->getFirstNonPhi());
9075-
VPTypeAnalysis TypeInfo(Plan.getCanonicalIV()->getScalarType());
90769075

90779076
// Introduce extract for exiting values and update the VPIRInstructions
90789077
// modeling the corresponding LCSSA phis.

0 commit comments

Comments
 (0)