[llvm-commits] [poolalloc] r155881 - /poolalloc/trunk/lib/DSA/DSGraph.cpp
Will Dietz
wdietz2 at illinois.edu
Mon Apr 30 19:52:39 PDT 2012
Author: wdietz2
Date: Mon Apr 30 21:52:39 2012
New Revision: 155881
URL: http://llvm.org/viewvc/llvm-project?rev=155881&view=rev
Log:
Fix bug in HackedSCCFinder where it unconditionally set reachable flag.
Shouldn't have any functionality changes in terms of analysis results,
but did result in unnecessary cloning of misc nodes that happened
to be the leader of an SCC that didn't need to be cloned.
Modified:
poolalloc/trunk/lib/DSA/DSGraph.cpp
Modified: poolalloc/trunk/lib/DSA/DSGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/DSGraph.cpp?rev=155881&r1=155880&r2=155881&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/DSGraph.cpp (original)
+++ poolalloc/trunk/lib/DSA/DSGraph.cpp Mon Apr 30 21:52:39 2012
@@ -412,7 +412,7 @@
SCCStack.pop_back();
}
SCCStack.pop_back();
- ThisNodeInfo.second = true;
+ ThisNodeInfo.second = AnyDirectSuccessorsReachClonedNodes;
return ThisNodeInfo;
}
More information about the llvm-commits
mailing list