[all-commits] [llvm/llvm-project] 539f50: [AMDGPU] Do not add debug locations to the code in...

RamNalamothu via All-commits all-commits at lists.llvm.org
Wed Nov 3 19:33:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 539f500e78ad7cdc905da5345d5d0e32122ce12e
      https://github.com/llvm/llvm-project/commit/539f500e78ad7cdc905da5345d5d0e32122ce12e
  Author: RamNalamothu <VenkataRamanaiah.Nalamothu at amd.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.h
    A llvm/test/CodeGen/AMDGPU/no-source-locations-in-prologue.ll

  Log Message:
  -----------
  [AMDGPU] Do not add debug locations to the code inside prologue

There is no real source location for code inside prologue as it is
generated by compiler but source locations are being added to code
inside prologue as a side effect of https://reviews.llvm.org/D99269
because buildSpillLoadStore() is using source location of the real
instruction in the basic block if any.

Fixes: SWDEV-307590

Reviewed By: scott.linder, sebastian-ne

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




More information about the All-commits mailing list