[all-commits] [llvm/llvm-project] 716098: [AArch64][MachineCombiner] Use MIMetadata to copy ...

David Green via All-commits all-commits at lists.llvm.org
Wed Nov 16 05:23:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71609871dd733715bfcd48e1f43117191d008cb4
      https://github.com/llvm/llvm-project/commit/71609871dd733715bfcd48e1f43117191d008cb4
  Author: David Green <david.green at arm.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

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

  Log Message:
  -----------
  [AArch64][MachineCombiner] Use MIMetadata to copy pcsections metadata to reassociated instructions.

D134260/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.

Differential Revision: https://reviews.llvm.org/D138112




More information about the All-commits mailing list