[all-commits] [llvm/llvm-project] 6c0889: [DebugInfo][SelectionDAG] Do not drop dbg intrinsi...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Thu May 18 02:09:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c088972d2822bd10e5104fd8994b5c25f3070e0
      https://github.com/llvm/llvm-project/commit/6c088972d2822bd10e5104fd8994b5c25f3070e0
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/DebugInfo/X86/dbg-empty-metadata-lowering.ll

  Log Message:
  -----------
  [DebugInfo][SelectionDAG] Do not drop dbg intrinsics with empty metadata locs

Without this patch SelectionDAG silently drops dbg.values using `!{}` operands.

Related to https://discourse.llvm.org/t/auto-undef-debug-uses-of-a-deleted-value

This causes assignment-tracking to behaviour to match non-assignment-tracking
behaviour after a recent change (see D140990).

Reviewed By: jmorse

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




More information about the All-commits mailing list