[all-commits] [llvm/llvm-project] 3d4255: [RemoveDI] Handle DPValues in SROA (#74089)

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue Dec 12 07:49:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d4255787246b676f65e22b63b916b2bf679c9c0
      https://github.com/llvm/llvm-project/commit/3d4255787246b676f65e22b63b916b2bf679c9c0
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/test/DebugInfo/ARM/sroa-complex.ll
    M llvm/test/DebugInfo/Generic/sroa-larger.ll
    M llvm/test/DebugInfo/Generic/sroa-samesize.ll
    M llvm/test/DebugInfo/X86/sroa-after-inlining.ll
    M llvm/test/DebugInfo/X86/sroasplit-1.ll
    M llvm/test/DebugInfo/X86/sroasplit-2.ll
    M llvm/test/DebugInfo/X86/sroasplit-3.ll
    M llvm/test/DebugInfo/X86/sroasplit-4.ll
    M llvm/test/DebugInfo/X86/sroasplit-5.ll
    M llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll
    M llvm/test/DebugInfo/salvage-overflow.ll
    M llvm/test/Transforms/Util/dbg-user-of-aext.ll

  Log Message:
  -----------
  [RemoveDI] Handle DPValues in SROA (#74089)

Handle dbg.declares in SROA using DPValues.

In order to reduce duplication, the migrate-debug-info loop has been changed
to a generic lambda with some helper function overloads, which is called
for dbg.declares, dbg.assigns, and DPValues alike.

The tests will become "live" once #74090 lands (see for more info).




More information about the All-commits mailing list