Skip to content
Commit d56f73f2 authored by Dan Gohman's avatar Dan Gohman
Browse files

Optimize SelectionDAG's topological sort to use one pass instead

of two, and to not need a scratch std::vector. Also, use the
SelectionDAG's topological sort in LegalizeDAG instead of having
a separate implementation.

llvm-svn: 55389
parent 9f0f805b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment