[llvm] [VPlan] Insert VPBlendRecipes in post order. NFC (PR #201782)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 03:18:23 PDT 2026


================
@@ -69,6 +69,8 @@ class VPPredicator {
     return EdgeMaskCache[{Src, Dst}] = Mask;
   }
 
+  DenseMap<const VPBasicBlock *, VPBasicBlock::iterator> InsertPoints;
----------------
david-arm wrote:

Does this actually need to live here? If the only use case is in `introduceMasksAndLinearize` perhaps you can just declare it as a local variable in that function? You can change VPPredicator::createBlockInMask to return the insert point and use the return value to update the local map?

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


More information about the llvm-commits mailing list