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

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 02:20:32 PDT 2026


================
@@ -292,6 +301,10 @@ void VPlanTransforms::introduceMasksAndLinearize(VPlan &Plan) {
     }
   }
 
+  for (VPBlockBase *VPB : reverse(RPOT))
+    if (VPB != Header)
+      Predicator.convertPhisToBlends(cast<VPBasicBlock>(VPB));
----------------
Mel-Chen wrote:

nit:
```suggestion
  for (VPBlockBase *VPBB : reverse(RPOT))
    if (VPBB != Header)
      Predicator.convertPhisToBlends(cast<VPBasicBlock>(VPBB));
```

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


More information about the llvm-commits mailing list