mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user