[llvm] [VPlan] Simplify the computation of the block entry mask. (PR #173265)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 01:28:55 PST 2026


================
@@ -46,6 +46,15 @@ class VPDominatorTree : public DominatorTreeBase<VPBlockBase, false> {
   bool properlyDominates(const VPRecipeBase *A, const VPRecipeBase *B);
 };
 
+/// Template specialization of the standard LLVM post-dominator tree utility for
+/// VPBlockBases.
+class VPPostDominatorTree : public PostDomTreeBase<VPBlockBase> {
----------------
fhahn wrote:

I think you can update `llvm/unittests/Transforms/Vectorize/VPPostDomFrontierTest.cpp` to use VPPostDominatorTree as well, right?

https://github.com/llvm/llvm-project/pull/173265


More information about the llvm-commits mailing list