[all-commits] [llvm/llvm-project] 8c1b7f: [SelectionDAG][DebugInfo][RemoveDIs] Handle entry ...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Mon Jan 22 07:39:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c1b7fba1fbe9729d6258127b633bd05339e766b
      https://github.com/llvm/llvm-project/commit/8c1b7fba1fbe9729d6258127b633bd05339e766b
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    M llvm/test/CodeGen/AArch64/dbg-value-swift-async.ll

  Log Message:
  -----------
  [SelectionDAG][DebugInfo][RemoveDIs] Handle entry value variables in DPValues too (#78726)

This patch abstracts visitEntryValueDbgValue to deal with the substance
of variable locations (Value, Var, Expr, DebugLoc) rather than how
they're stored. That allows us to call it from handleDebugValue, which
is similarly abstracted. This allows the entry-value behaviour (see the
test) to be supported with non-instruction debug-info too!.




More information about the All-commits mailing list