[llvm] 0f61558 - [LoopVectorize][NFC] Remove unused variable in addUsersInExitBlocks (#124553)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 01:11:30 PST 2025
Author: David Sherwood
Date: 2025-01-28T09:11:27Z
New Revision: 0f61558b97aab16fedd38648f88377ff3f860e06
URL: https://github.com/llvm/llvm-project/commit/0f61558b97aab16fedd38648f88377ff3f860e06
DIFF: https://github.com/llvm/llvm-project/commit/0f61558b97aab16fedd38648f88377ff3f860e06.diff
LOG: [LoopVectorize][NFC] Remove unused variable in addUsersInExitBlocks (#124553)
We were allocating a VPTypeAnalysis object on the stack,
but never using it for anything.
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index f592e5557c17d5..16e5adb01a5642 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -9072,7 +9072,6 @@ addUsersInExitBlocks(VPlan &Plan,
auto *MiddleVPBB = Plan.getMiddleBlock();
VPBuilder B(MiddleVPBB, MiddleVPBB->getFirstNonPhi());
- VPTypeAnalysis TypeInfo(Plan.getCanonicalIV()->getScalarType());
// Introduce extract for exiting values and update the VPIRInstructions
// modeling the corresponding LCSSA phis.
More information about the llvm-commits
mailing list