summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-23 00:41:03 +0000
committerChris Lattner <sabre@nondot.org>2010-04-23 00:41:03 +0000
commitd8d898dbd3ed495150d1bd677d4408bc61710825 (patch)
tree4cd713b94b9807de837220cc092f2df160a649b4 /llvm/lib/Transforms/IPO
parent306de2f6a12762bb9c0b3b4f1763906c1aa6aa8b (diff)
downloadbcm5719-llvm-d8d898dbd3ed495150d1bd677d4408bc61710825.tar.gz
bcm5719-llvm-d8d898dbd3ed495150d1bd677d4408bc61710825.zip
disable my previous inliner patch, it appears to be busting self-host.
llvm-svn: 102153
Diffstat (limited to 'llvm/lib/Transforms/IPO')
-rw-r--r--llvm/lib/Transforms/IPO/Inliner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp
index 1de7b0753d2..322b4698756 100644
--- a/llvm/lib/Transforms/IPO/Inliner.cpp
+++ b/llvm/lib/Transforms/IPO/Inliner.cpp
@@ -390,9 +390,11 @@ bool Inliner::runOnSCC(CallGraphSCC &SCC) {
// If inlining this function devirtualized any call sites, throw them
// onto our worklist to process. They are useful inline candidates.
+#if 0
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
i != e; ++i)
CallSites.push_back(CallSite(InlineInfo.DevirtualizedCalls[i]));
+#endif
// Update the cached cost info with the inlined call.
growCachedCostInfo(Caller, Callee);
OpenPOWER on IntegriCloud