[llvm] da73447 - [LV] Remove now dead variable after 2a78890b7b7f08 (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 12:26:13 PDT 2022
Author: Florian Hahn
Date: 2022-09-09T20:25:55+01:00
New Revision: da734473fa22a05130a91142dfeaa91929d8b774
URL: https://github.com/llvm/llvm-project/commit/da734473fa22a05130a91142dfeaa91929d8b774
DIFF: https://github.com/llvm/llvm-project/commit/da734473fa22a05130a91142dfeaa91929d8b774.diff
LOG: [LV] Remove now dead variable after 2a78890b7b7f08 (NFC).
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 d026ea38b7b1..a13ea90e48ca 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -9464,7 +9464,6 @@ void VPWidenPointerInductionRecipe::execute(VPTransformState &State) {
NewPointerPhi->addIncoming(ScalarStartValue, VectorPH);
// A pointer induction, performed by using a gep
- const DataLayout &DL = NewPointerPhi->getModule()->getDataLayout();
Instruction *InductionLoc = &*State.Builder.GetInsertPoint();
Value *ScalarStepValue = State.get(getOperand(1), VPIteration(0, 0));
More information about the llvm-commits
mailing list