[llvm-branch-commits] MachineInstrBuilder: Introduce copyMIMetadata() function. (PR #133535)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 31 03:11:32 PDT 2025


https://github.com/nikic commented:

LGTM

Something I don't entirely like is that MIMetadata holds DebugLoc, but copyMIMetadata does not copy it -- instead, it needs to be passed to CreateMachineInstr. But given how this is used it's not really a problem...

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


More information about the llvm-branch-commits mailing list