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

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 18:11:05 PST 2024


Author: LiqinWeng
Date: 2024-12-25T10:11:02+08:00
New Revision: b5f0ec80d59d054617994f0de409c38fabc8c207

URL: https://github.com/llvm/llvm-project/commit/b5f0ec80d59d054617994f0de409c38fabc8c207
DIFF: https://github.com/llvm/llvm-project/commit/b5f0ec80d59d054617994f0de409c38fabc8c207.diff

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

Multiple prints will cause problems when testing ir-bb

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 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