[llvm] 3ce5df4 - [Vectorize] Remove a redundant declaration (NFC) (#167188)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 8 22:28:04 PST 2025
Author: Kazu Hirata
Date: 2025-11-08T22:28:00-08:00
New Revision: 3ce5df408baf3d581c5765a2d756518777bbf7fa
URL: https://github.com/llvm/llvm-project/commit/3ce5df408baf3d581c5765a2d756518777bbf7fa
DIFF: https://github.com/llvm/llvm-project/commit/3ce5df408baf3d581c5765a2d756518777bbf7fa.diff
LOG: [Vectorize] Remove a redundant declaration (NFC) (#167188)
EnableVPlanNativePath is declared in LoopVectorizationPlanner.h.
Identified with readability-redundant-declaration.
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlan.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.cpp b/llvm/lib/Transforms/Vectorize/VPlan.cpp
index dd26a059d56ad..5e4303a4c5fff 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -52,10 +52,6 @@
using namespace llvm;
using namespace llvm::VPlanPatternMatch;
-namespace llvm {
-extern cl::opt<bool> EnableVPlanNativePath;
-}
-
/// @{
/// Metadata attribute names
const char LLVMLoopVectorizeFollowupAll[] = "llvm.loop.vectorize.followup_all";
More information about the llvm-commits
mailing list