[all-commits] [llvm/llvm-project] 3bfba6: [Assignment Tracking][13/*] Account for assignment...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon Dec 12 01:24:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bfba672afd52dfd5bde54dc8b67ec96275f9e15
      https://github.com/llvm/llvm-project/commit/3bfba672afd52dfd5bde54dc8b67ec96275f9e15
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2022-12-12 (Mon, 12 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:
  -----------
  [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