[all-commits] [llvm/llvm-project] f35471: Reapply [Assignment Tracking][13/*] Account for as...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue Dec 13 04:53:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f354716b052d19b4543617dfe3954503a6827ff8
      https://github.com/llvm/llvm-project/commit/f354716b052d19b4543617dfe3954503a6827ff8
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll

  Log Message:
  -----------
  Reapply [Assignment Tracking][13/*] Account for assignment tracking in SROA

The Assignment Tracking debug-info feature is outlined in this RFC:

https://discourse.llvm.org/t/
rfc-assignment-tracking-a-better-way-of-specifying-variable-locations-in-ir

Split dbg.assign intrinsics into fragments similarly to what SROA already does
for dbg.declares, except that there's many more intrinsics to split. The
function migrateDebugInfo generates new dbg.assigns intrinsic for each part of
a split store.

Reviewed By: jmorse

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




More information about the All-commits mailing list