[llvm] [VPlan] Manage instruction medata in VPlan. (PR #135272)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 11:05:28 PDT 2025


================
@@ -1641,12 +1649,13 @@ void VPWidenRecipe::execute(VPTransformState &State) {
 
     Value *V = Builder.CreateNAryOp(Opcode, Ops);
 
-    if (auto *VecOp = dyn_cast<Instruction>(V))
+    if (auto *VecOp = dyn_cast<Instruction>(V)) {
       setFlags(VecOp);
+      applyMetadata(V);
----------------
fhahn wrote:

done thanks

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


More information about the llvm-commits mailing list