[PATCH] D138112: [AArch64][MachineCombiner] Use MIMetadata to copy pcsections metadata to reassociated instructions.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 03:14:43 PST 2022


dmgreen created this revision.
dmgreen added reviewers: kawashima-fj, melver.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

D134260 <https://reviews.llvm.org/D134260>/D138107 <https://reviews.llvm.org/D138107> exposed that the MachineCombiner was not copying pcsections metadata where it should. This patch switches the MIBuild methods to use MIMetadata that can copy the debug loc and pcsections at the same time.


https://reviews.llvm.org/D138112

Files:
  llvm/lib/CodeGen/TargetInstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/arm64-pcsections.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138112.475747.patch
Type: text/x-patch
Size: 12974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221116/29ca5ef7/attachment.bin>


More information about the llvm-commits mailing list