[all-commits] [llvm/llvm-project] 06fd42: [LoongArch] Use empty debug location for register ...

Ben Shi via All-commits all-commits at lists.llvm.org
Sat Apr 15 20:07:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06fd423de16b8b362ce902704ca061556c4146b4
      https://github.com/llvm/llvm-project/commit/06fd423de16b8b362ce902704ca061556c4146b4
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-16 (Sun, 16 Apr 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp

  Log Message:
  -----------
  [LoongArch] Use empty debug location for register spill/reload

Spill/reload instructions are automatically generated by the
compiler and have no relation to the original source code. So it
would be better to not attach any debug location to them.
The X86/AArch64/ARM/Thumb backends all follow this way.

Reviewed By: xen0n

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




More information about the All-commits mailing list