[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:27 PDT 2024
================
@@ -2946,7 +2947,8 @@ class VPBasicBlock : public VPBlockBase {
private:
/// Create an IR BasicBlock to hold the output instructions generated by this
/// VPBasicBlock, and return it. Update the CFGState accordingly.
- BasicBlock *createEmptyBasicBlock(VPTransformState::CFGState &CFG);
+ BasicBlock *createEmptyBasicBlock(VPTransformState::CFGState &CFG,
----------------
ayalz wrote:
nit: if DTU is part of CFGState, then "Update the CFGState accordingly" would also imply updating DT, which this method now does.
https://github.com/llvm/llvm-project/pull/92525
More information about the llvm-commits
mailing list