Commit fca5d45
authored
[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.1 parent f29955a commit fca5d45
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12746 | 12746 | | |
12747 | 12747 | | |
12748 | 12748 | | |
| 12749 | + | |
| 12750 | + | |
| 12751 | + | |
| 12752 | + | |
12749 | 12753 | | |
12750 | 12754 | | |
12751 | 12755 | | |
| |||
12759 | 12763 | | |
12760 | 12764 | | |
12761 | 12765 | | |
12762 | | - | |
12763 | | - | |
12764 | 12766 | | |
12765 | 12767 | | |
12766 | 12768 | | |
| |||
0 commit comments