[llvm] [VPlan] Remove redundant printing final in VPlan::execute (PR #121048)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 02:19:07 PST 2024


https://github.com/LiqinWeng created https://github.com/llvm/llvm-project/pull/121048

None

>From aa9db8791ee939347aec25c22f7d353b9a884570 Mon Sep 17 00:00:00 2001
From: LiqinWeng <liqin.weng at spacemit.com>
Date: Tue, 24 Dec 2024 18:18:11 +0800
Subject: [PATCH] [VPlan] Remove redundant printing final in VPlan::execute

---
 llvm/lib/Transforms/Vectorize/VPlan.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/llvm/lib/Transforms/Vectorize/VPlan.cpp b/llvm/lib/Transforms/Vectorize/VPlan.cpp
index 71f43abe534ec0..9a082921d4f7f2 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -1002,11 +1002,6 @@ void VPlan::execute(VPTransformState *State) {
   setName("Final VPlan");
   LLVM_DEBUG(dump());
 
-  LLVM_DEBUG(dbgs() << "Executing best plan with VF=" << State->VF
-                    << ", UF=" << getUF() << '\n');
-  setName("Final VPlan");
-  LLVM_DEBUG(dump());
-
   // Disconnect the middle block from its single successor (the scalar loop
   // header) in both the CFG and DT. The branch will be recreated during VPlan
   // execution.



More information about the llvm-commits mailing list