[llvm] [VPlan] Delay adding canonical IV increment and exit branches. (PR #82270)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 11:23:24 PDT 2024


================
@@ -1235,16 +1235,10 @@ void VPlanTransforms::optimize(VPlan &Plan, ScalarEvolution &SE) {
 static VPActiveLaneMaskPHIRecipe *addVPLaneMaskPhiAndUpdateExitBranch(
----------------
ayalz wrote:

```suggestion
static VPActiveLaneMaskPHIRecipe *addVPLaneMaskPhi(
```
or better renamed `createActiveLaneMaskPhi()` to be consistent and distinct from its caller `addActiveLaneMask()` (if not inlined into it)?

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


More information about the llvm-commits mailing list