[all-commits] [llvm/llvm-project] c2a5c4: [DebugInfo][SROA] Correct debug info for global va...

Alok Kumar Sharma via All-commits all-commits at lists.llvm.org
Thu Mar 16 11:28:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2a5c415ac4e31af0983418a403a4ce5bd749fd4
      https://github.com/llvm/llvm-project/commit/c2a5c415ac4e31af0983418a403a4ce5bd749fd4
  Author: alosharm <AlokKumar.Sharma at amd.com>
  Date:   2023-03-16 (Thu, 16 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    M llvm/test/DebugInfo/X86/global-sra-struct-fit-segment.ll
    A llvm/test/DebugInfo/X86/global-sra-struct-part-overlap-segment.ll

  Log Message:
  -----------
  [DebugInfo][SROA] Correct debug info for global variables spanning multiple fragments in case of SROA

The function transferSRADebugInfo is modified to include missing cases.

Reviewed By: aprantl

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




More information about the All-commits mailing list