[all-commits] [llvm/llvm-project] 0e5c50: [DebugInfo] [SelectionDAG] Fix handling of duplica...

Emil Pedersen via All-commits all-commits at lists.llvm.org
Tue Mar 26 12:09:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e5c504d3d80eb1488483a15269c2155f9e04bd7
      https://github.com/llvm/llvm-project/commit/0e5c504d3d80eb1488483a15269c2155f9e04bd7
  Author: Emil Pedersen <3mille.prenom.nom at gmail.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/DebugInfo/X86/dbg-value-funcarg-duplicates.ll

  Log Message:
  -----------
  [DebugInfo] [SelectionDAG] Fix handling of duplicate dbg values (#86598)

Before this fix, a duplicate llvm.dbg.value intrinsic referring to an
argument, after an alloca, would be generated with `$noreg`, losing
debug information. Instead, we silently drop the second debug info, so
it doesn't break the first one.

rdar://125375717



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