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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun May 4 13:49:11 PDT 2025


================
@@ -183,7 +187,9 @@ static bool sinkScalarOperands(VPlan &Plan) {
         // TODO: Handle converting to uniform recipes as separate transform,
         // then cloning should be sufficient here.
         Instruction *I = SinkCandidate->getUnderlyingInstr();
-        Clone = new VPReplicateRecipe(I, SinkCandidate->operands(), true);
+        Clone = new VPReplicateRecipe(I, SinkCandidate->operands(), true,
+                                      /*Mask*/ nullptr,
+                                      *cast<VPReplicateRecipe>(SinkCandidate));
----------------
fhahn wrote:

Done thanks!

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


More information about the llvm-commits mailing list