[llvm] [VPlan] Manage noalias/alias_scope metadata in VPlan. (NFC) (PR #136450)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 06:04:43 PDT 2025


================
@@ -9576,8 +9587,9 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
           Legal->isInvariantAddressOfReduction(SI->getPointerOperand())) {
         // Only create recipe for the final invariant store of the reduction.
         if (Legal->isInvariantStoreOfReduction(SI)) {
-          auto *Recipe =
-              new VPReplicateRecipe(SI, R.operands(), true /* IsUniform */);
+          auto *Recipe = new VPReplicateRecipe(
+              SI, R.operands(), true /* IsUniform */, /*Mask*/ nullptr,
----------------
Mel-Chen wrote:

nit: align the comment style, like:
```suggestion
              SI, R.operands(), true /* IsUniform */, nullptr /* Mask */,
```

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


More information about the llvm-commits mailing list