[all-commits] [llvm/llvm-project] 91d7ca: [DebugInfo] Remap extracted DIAssignIDs in hotcold...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon May 13 04:50:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91d7ca904c601d181c431bffbf2773165de2fabd
      https://github.com/llvm/llvm-project/commit/91d7ca904c601d181c431bffbf2773165de2fabd
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfo.h
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/Transforms/Utils/CodeExtractor.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/DebugInfo/assignment-tracking/X86/hotcoldsplit.ll

  Log Message:
  -----------
  [DebugInfo] Remap extracted DIAssignIDs in hotcoldsplit (#91940)

Fix #91814

When instructions are extracted into a new function the `DIAssignID` metadata
uses and attachments need to be remapped so that the stores and assignment
markers don't link to stores and assignment markers in the original function.

This matches existing inlining behaviour for DIAssignIDs.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list