[all-commits] [llvm/llvm-project] 4f57e2: [RemoveDIs][DebugInfo] Create overloads of debug i...

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


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

  Changed paths:
    M llvm/include/llvm/IR/DebugInfo.h
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [RemoveDIs][DebugInfo] Create overloads of debug intrinsic utilities for DPValues (#78313)

In preparation for the major chunk of the assignment tracking
implementation, this patch adds a new set of overloaded versions of
existing functions that take DbgVariableIntrinsics, with the overloads
taking DPValues. This is used specifically to allow us to use generic code
to handle both DbgVariableIntrinsics and DPValues, reducing code
duplication. This patch doesn't actually add the uses of these functions.




More information about the All-commits mailing list