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

Optimize ScheduleDAGRRList's topological sort to use one pass instead

of two, and to not need a scratch std::vector. Also, compute the ordering
immediately in the result array, instead of in another scratch std::vector
that is copied to the result array.

llvm-svn: 55421
parent 9cbdedcb
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