diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-23 00:41:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-23 00:41:03 +0000 |
commit | 62cc838b90d32b41f3025b400845b3e194b53e32 (patch) | |
tree | 5a23770ef46f0607e5686e3595a796fd5c026e7e | |
parent | fe9af3b1f7e5d68ecc330bdf4f047d76838f8cc3 (diff) |
disable my previous inliner patch, it appears to be busting self-host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102153 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/IPO/Inliner.cpp | 2 | ||||
-rw-r--r-- | test/Transforms/Inline/indirect_resolve.ll | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp index 1de7b0753d..322b469875 100644 --- a/lib/Transforms/IPO/Inliner.cpp +++ b/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); diff --git a/test/Transforms/Inline/indirect_resolve.ll b/test/Transforms/Inline/indirect_resolve.ll index eb4f9bc058..288973e891 100644 --- a/test/Transforms/Inline/indirect_resolve.ll +++ b/test/Transforms/Inline/indirect_resolve.ll @@ -1,4 +1,5 @@ ; RUN: opt < %s -inline -S | FileCheck %s +; XFAIL: * ; PR4834 define i32 @test1() { |