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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 08:11:40 PDT 2025


================
@@ -355,23 +355,13 @@ BasicBlock *VPTransformState::CFGState::getPreheaderBBFor(VPRecipeBase *R) {
   return VPBB2IRBB[LoopRegion->getPreheaderVPBB()];
 }
 
-void VPTransformState::addNewMetadata(Instruction *To,
-                                      const Instruction *Orig) {
+void VPTransformState::addNewMetadata(Value *To, const Instruction *Orig) {
+
----------------
fhahn wrote:

Restored thanks

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


More information about the llvm-commits mailing list