[llvm] [VPlan] Manage noalias/alias_scope metadata in VPlan. (NFC) (PR #136450)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 28 12:58:55 PDT 2025
================
@@ -8882,8 +8865,9 @@ VPRecipeBuilder::handleReplication(Instruction *I, ArrayRef<VPValue *> Operands,
assert((Range.Start.isScalar() || !IsUniform || !IsPredicated ||
(Range.Start.isScalable() && isa<IntrinsicInst>(I))) &&
"Should not predicate a uniform recipe");
- auto *Recipe = new VPReplicateRecipe(
- I, make_range(Operands.begin(), Operands.end()), IsUniform, BlockInMask);
+ auto *Recipe =
+ new VPReplicateRecipe(I, make_range(Operands.begin(), Operands.end()),
+ IsUniform, BlockInMask, getMetadataToPropagate(I));
----------------
artagnon wrote:
s/make_range(Operands.begin(), Operands.end())/Operands while we're here?
https://github.com/llvm/llvm-project/pull/136450
More information about the llvm-commits
mailing list