[all-commits] [llvm/llvm-project] 775258: Add support for salvaging debug info from icmp ins...

Shubham Sandeep Rastogi via All-commits all-commits at lists.llvm.org
Tue May 23 15:31:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 775258d758dd6d3594c96cd79f60bd4382140294
      https://github.com/llvm/llvm-project/commit/775258d758dd6d3594c96cd79f60bd4382140294
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/DebugInfo/X86/dbg_value_list_emission.mir
    M llvm/test/DebugInfo/X86/debug_value_list_selectiondag.ll
    A llvm/test/DebugInfo/salvage-icmp.ll

  Log Message:
  -----------
  Add support for salvaging debug info from icmp instrcuctions.

salvageDebugInfo is a function that allows us to reatin debug info for
instructions that have been optimized out. Currently, it doesn't support
salvaging the debug information from icmp instrcutions, but DWARF
expressions can emulate an icmp by using the DWARF conditional
expressions. This patch adds support for salvaging debug information
from icmp instructions.

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




More information about the All-commits mailing list