[all-commits] [llvm/llvm-project] 2db924: [RemoveDIs][DebugInfo] Make DIAssignID always repl...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Wed Jan 17 04:00:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2db9244b6f66a4fd4c937de7b33a5b6dda4a06a8
      https://github.com/llvm/llvm-project/commit/2db9244b6f66a4fd4c937de7b33a5b6dda4a06a8
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/Metadata.h
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Metadata.cpp
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  [RemoveDIs][DebugInfo] Make DIAssignID always replaceable (#78300)

This patch is a necessary step to allowing the new non-intrinsic debug
info to replace llvm.dbg.assign intrinsics. DIAssignIDs must be able to
look up the debug assigns that refer to them, and this patch makes them
always be considered "replaceable", allowing us to track and replace uses
for non-temporary instances.




More information about the All-commits mailing list