Skip to content
Commit 770060dd authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[LCG] Rather than doing a linear time SmallSetVector removal of each

child from the worklist, wait until we actually need to pop another
element off of the worklist and skip over any that were already visited
by the DFS. This also enables swapping the nodes of the SCC into the
worklist. No functionality changed.

llvm-svn: 207212
parent 0d0107d2
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