aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbpexpect.py
diff options
context:
space:
mode:
authorMin-Yih Hsu <min.hsu@sifive.com>2025-10-03 16:18:21 -0700
committerGitHub <noreply@github.com>2025-10-03 16:18:21 -0700
commitc2c2e4ec90d0c1d65fff34fc4835dc6ba1ab25fc (patch)
treefae709375a699551f1240d51d96569a0ff91d174 /lldb/packages/Python/lldbsuite/test/lldbpexpect.py
parentc488dca6564d11ae84fb482599996a9d310f370d (diff)
downloadllvm-c2c2e4ec90d0c1d65fff34fc4835dc6ba1ab25fc.zip
llvm-c2c2e4ec90d0c1d65fff34fc4835dc6ba1ab25fc.tar.gz
llvm-c2c2e4ec90d0c1d65fff34fc4835dc6ba1ab25fc.tar.bz2
[SelectionDAG] Add support to dump DAGs with sorted nodes (#161097)
An alternative approach to #149732 , which sorts the DAG before dumping it. That approach runs a risk of altering the codegen result as we don't know if any of the downstream DAG users relies on the node ID, which was updated as part of the sorting. The new method proposed by this PR does not update the node ID or any of the DAG's internal states: the newly added `SelectionDAG::getTopologicallyOrderedNodes` is a const member function that returns a list of all nodes in their topological order.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbpexpect.py')
0 files changed, 0 insertions, 0 deletions