disable my previous inliner patch, it appears to be busting self-host.
authorChris Lattner <sabre@nondot.org>
Fri, 23 Apr 2010 00:41:03 +0000 (00:41 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Apr 2010 00:41:03 +0000 (00:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102153 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/Inliner.cpp
test/Transforms/Inline/indirect_resolve.ll

index 1de7b0753d20427dc6704e2c985ba8943b899f8e..322b4698756c42ed8bb7d87d98f4a1b9a0eb54fd 100644 (file)
@@ -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);
index eb4f9bc0583e2c6aca6e8ef7713823d562d2da3b..288973e891f49dcc1f46d492ddf4b615f4b1cc28 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: opt < %s -inline -S | FileCheck %s
+; XFAIL: *
 ; PR4834
 
 define i32 @test1() {