[llvm] [VPlan] Populate and use VPIRMetadata from VPInstructions (NFC) (PR #167253)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 16 13:42:00 PST 2025
================
@@ -150,11 +151,11 @@ class VPBuilder {
/// its underlying Instruction.
VPInstruction *createNaryOp(unsigned Opcode, ArrayRef<VPValue *> Operands,
Instruction *Inst = nullptr,
+ const VPIRMetadata &MD = {},
----------------
fhahn wrote:
Currently most helpers/constructors take DL/Name at the end, and the changes her try to keep things consistent.
I could add it to createInstruction and update all places that need. Some places do not support metatadata (like `createNot`, `createAnd`.
https://github.com/llvm/llvm-project/pull/167253
More information about the llvm-commits
mailing list