[all-commits] [llvm/llvm-project] fca5d4: [SelectionDAG] Make SelectionDAG::dump(true) usabl...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Thu Nov 6 19:22:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fca5d45d32de66c63f3583b1d1280bf5b3f1502a
      https://github.com/llvm/llvm-project/commit/fca5d45d32de66c63f3583b1d1280bf5b3f1502a
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Make SelectionDAG::dump(true) usable from debugger (#166722)

When called from DAGCombiner, there may be a HandleSDNode allocated
on the stack. Since the node is not part of a DAG, we don't allocate
an entry for it in the operand counting map and should not attempt to
decrement its operand count.



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