* Rename UnlinkUndistinguishableShadowNodes & RemoveUnreachableShadowNodes

to reflect that they can eliminate arbitrary nodes.
* Rename the ShadowNodeEliminate.cpp file to EliminateNodes.cpp for the
  same reason


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-03-28 19:16:48 +00:00
parent d38cadb13d
commit 7d093d4231
3 changed files with 16 additions and 15 deletions

View File

@ -193,10 +193,10 @@ void FunctionDSGraph::computeClosure(const DataStructure &DS) {
// Eliminate shadow nodes that are not distinguishable from some other
// node in the graph...
//
Changed = UnlinkUndistinguishableShadowNodes();
Changed = UnlinkUndistinguishableNodes();
// Eliminate shadow nodes that are now extraneous due to linking...
Changed |= RemoveUnreachableShadowNodes();
Changed |= RemoveUnreachableNodes();
}
//if (F == Func) return; // Only do one self inlining