[all-commits] [llvm/llvm-project] ef9bca: [MachineSink][AArch64] Preserve debug location whe...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Tue Nov 21 02:10:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef9bcace834e63f25bbbc5e8e2b615f89d85fb2f
      https://github.com/llvm/llvm-project/commit/ef9bcace834e63f25bbbc5e8e2b615f89d85fb2f
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/test/CodeGen/AArch64/sink-and-fold-drop-dbg.mir
    A llvm/test/CodeGen/AArch64/sink-and-fold-preserve-debugloc.mir

  Log Message:
  -----------
  [MachineSink][AArch64] Preserve debug location when rematerialising an instruction to replace a COPY (#72685)

Fixes a regression in `tools/lldb-dap/optimized/TestDAP_optimized.py`
caused by enabling "sink-and-fold" in MachineSink.




More information about the All-commits mailing list