[llvm] Revert "[VPlan] Remove unnecessary DomTreeUpdater flush (NFC)." (PR #144758)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 18 10:26:45 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
@llvm/pr-subscribers-vectorizers
Author: Arthur Eubanks (aeubanks)
<details>
<summary>Changes</summary>
This reverts commit 2e337349f436d75af112c081df5ec683871cbcc8.
Causes breakages internally, will post reproducer later.
---
Full diff: https://github.com/llvm/llvm-project/pull/144758.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Vectorize/VPlan.cpp (+2)
``````````diff
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;
``````````
</details>
https://github.com/llvm/llvm-project/pull/144758
More information about the llvm-commits
mailing list