[llvm] dfe4d44 - Revert "[VPlan] Remove unnecessary DomTreeUpdater flush (NFC)." (#144758)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 11:00:16 PDT 2025


Author: Arthur Eubanks
Date: 2025-06-18T11:00:13-07:00
New Revision: dfe4d44d8de645d151d3483272c1c1f80c27ab31

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

LOG: Revert "[VPlan] Remove unnecessary DomTreeUpdater flush (NFC)." (#144758)

This reverts commit 2e337349f436d75af112c081df5ec683871cbcc8.

Causes breakages internally, will post reproducer later.

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 4332332ef5cc3..773a5a4a829c7 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -1015,6 +1015,8 @@ 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