Utilize topological sort in CompilationGraph::Build().
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 6 May 2008 18:07:48 +0000 (18:07 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 6 May 2008 18:07:48 +0000 (18:07 +0000)
commit3d688228f67d66c5e253d80acdaed784a82fdb31
tree1c87c314870cb6694c59aa332e0248d09e21903f
parent026065807999d65746adc1ffdbabcc66ff5472ff
Utilize topological sort in CompilationGraph::Build().

This makes more interesting graph topologies possible. Currently all tests pass,
but more testing is needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50744 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvmc2/CompilationGraph.cpp
tools/llvmc2/Tool.h
tools/llvmc2/llvmc.cpp