[llvm] [VPlan] Manage noalias/alias_scope metadata in VPlan. (NFC) (PR #136450)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 28 02:53:11 PDT 2025
================
@@ -1198,10 +1200,14 @@ class VPIRMetadata {
protected:
VPIRMetadata() {}
VPIRMetadata(Instruction &I) { getMetadataToPropagate(&I, Metadata); }
+ VPIRMetadata(MDArrayRef Metadata) : Metadata(Metadata) {}
----------------
fhahn wrote:
We could, but then we would need to variants of constructors, one taking the metadata as list (or taking LVer), as well as one taking VPIRMetadata to clone?
https://github.com/llvm/llvm-project/pull/136450
More information about the llvm-commits
mailing list