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

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 03:11:08 PDT 2025


================
@@ -1234,7 +1242,7 @@ void VPWidenCallRecipe::execute(VPTransformState &State) {
 
   if (!V->getType()->isVoidTy())
     State.set(this, V);
-  State.addMetadata(V, CI);
+  setMetadata(V);
----------------
ayalz wrote:

nit: good to place setMetadata() next to setFlags() in general, here and below.
```suggestion
```

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


More information about the llvm-commits mailing list