Skip to content

Commit 847fd4f

Browse files
committed
[LoopVectorize][NFC] Remove unused variable in addUsersInExitBlocks
We were allocating a VPTypeAnalysis object on the stack, but never using it for anything.
1 parent ef54e0b commit 847fd4f

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
@@ -9073,7 +9073,6 @@ addUsersInExitBlocks(VPlan &Plan,
90739073

90749074
auto *MiddleVPBB = Plan.getMiddleBlock();
90759075
VPBuilder B(MiddleVPBB, MiddleVPBB->getFirstNonPhi());
9076-
VPTypeAnalysis TypeInfo(Plan.getCanonicalIV()->getScalarType());
90779076

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

0 commit comments

Comments
 (0)