[llvm] [VPlan] Use DomTreeUpdater to automatically update DT for vector loop. (PR #92525)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 13:53:26 PDT 2024
================
@@ -399,8 +400,8 @@ void VPTransformState::packScalarIntoVectorValue(VPValue *Def,
set(Def, VectorValue, Instance.Part);
}
-BasicBlock *
-VPBasicBlock::createEmptyBasicBlock(VPTransformState::CFGState &CFG) {
+BasicBlock *VPBasicBlock::createEmptyBasicBlock(VPTransformState::CFGState &CFG,
+ DomTreeUpdater &DTU) {
----------------
ayalz wrote:
Should DTU reside inside CFGState, now that updating DT is integrated with modifying the CFG?
https://github.com/llvm/llvm-project/pull/92525
More information about the llvm-commits
mailing list