disable my previous inliner patch, it appears to be busting self-host.

llvm-svn: 102153
This commit is contained in:
Chris Lattner 2010-04-23 00:41:03 +00:00
parent 306de2f6a1
commit d8d898dbd3
2 changed files with 3 additions and 0 deletions

View 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);

View File

@ -1,4 +1,5 @@
; RUN: opt < %s -inline -S | FileCheck %s
; XFAIL: *
; PR4834
define i32 @test1() {