[llvm] 2e33734 - [VPlan] Remove unnecessary DomTreeUpdater flush (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 00:18:12 PDT 2025


Author: Florian Hahn
Date: 2025-06-05T08:17:42+01:00
New Revision: 2e337349f436d75af112c081df5ec683871cbcc8

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

LOG: [VPlan] Remove unnecessary DomTreeUpdater flush (NFC).

The current version does not need the explicit flush at this point.

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 280ea47c5d7cc..1838562f26b82 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -1016,8 +1016,6 @@ void VPlan::execute(VPTransformState *State) {
   for (VPBlockBase *Block : RPOT)
     Block->execute(State);
 
-  State->CFG.DTU.flush();
-
   VPBasicBlock *Header = vputils::getFirstLoopHeader(*this, State->VPDT);
   if (!Header)
     return;


        


More information about the llvm-commits mailing list