[all-commits] [llvm/llvm-project] 7cdc97: MachineInstrBuilder: Introduce copyMIMetadata() fu...
Peter Collingbourne via All-commits
all-commits at lists.llvm.org
Thu Jul 31 09:53:23 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cdc9781d45ce6eb27041a3aaeb756f00b9058e3
https://github.com/llvm/llvm-project/commit/7cdc9781d45ce6eb27041a3aaeb756f00b9058e3
Author: Peter Collingbourne <pcc at google.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M llvm/include/llvm/CodeGen/MachineInstrBuilder.h
M llvm/lib/CodeGen/TargetInstrInfo.cpp
Log Message:
-----------
MachineInstrBuilder: Introduce copyMIMetadata() function.
This reduces the amount of boilerplate required when adding a new
field to MIMetadata and reduces the chance of bugs like the
one I fixed in TargetInstrInfo::reassociateOps.
Reviewers: arsenm, nikic
Reviewed By: nikic
Pull Request: https://github.com/llvm/llvm-project/pull/133535
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list