diff options
author | Amaury Sechet <deadalnix@gmail.com> | 2019-08-26 17:02:12 +0000 |
---|---|---|
committer | Amaury Sechet <deadalnix@gmail.com> | 2019-08-26 17:02:12 +0000 |
commit | b7075e40f3c2244073fed1bf64f922165987f68a (patch) | |
tree | 7ee7f6c18d42faeb3a8311c2a61d073f1bb21d12 /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py | |
parent | e30b71f9dc0fdf12c3ea2ce4541ca8ce4af2aa67 (diff) | |
download | bcm5719-llvm-b7075e40f3c2244073fed1bf64f922165987f68a.tar.gz bcm5719-llvm-b7075e40f3c2244073fed1bf64f922165987f68a.zip |
[DAGCombiner] Remove a bunch of redundant AddToWorklist calls.
Summary:
This comes as a first step toward processing the DAG nodes in topological orders. Doing so ensure that arguments of a node are combined before the node itself is combined, which exposes ore opportunities for optimization and/or reduce the amount of patterns a node has to match for.
DAGCombiner adding nodes to the worklist is various places causes the nodes to be in a different order from what is expected. In addition, this is reduant because these nodes end up being added to the worklist anyways due to the machinery at line 1621.
Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66537
llvm-svn: 369927
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions