mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
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
This commit is contained in:
@@ -390,9 +390,11 @@ bool Inliner::runOnSCC(CallGraphSCC &SCC) {
|
|||||||
|
|
||||||
// If inlining this function devirtualized any call sites, throw them
|
// If inlining this function devirtualized any call sites, throw them
|
||||||
// onto our worklist to process. They are useful inline candidates.
|
// onto our worklist to process. They are useful inline candidates.
|
||||||
|
#if 0
|
||||||
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
|
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
|
||||||
i != e; ++i)
|
i != e; ++i)
|
||||||
CallSites.push_back(CallSite(InlineInfo.DevirtualizedCalls[i]));
|
CallSites.push_back(CallSite(InlineInfo.DevirtualizedCalls[i]));
|
||||||
|
#endif
|
||||||
|
|
||||||
// Update the cached cost info with the inlined call.
|
// Update the cached cost info with the inlined call.
|
||||||
growCachedCostInfo(Caller, Callee);
|
growCachedCostInfo(Caller, Callee);
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
; RUN: opt < %s -inline -S | FileCheck %s
|
; RUN: opt < %s -inline -S | FileCheck %s
|
||||||
|
; XFAIL: *
|
||||||
; PR4834
|
; PR4834
|
||||||
|
|
||||||
define i32 @test1() {
|
define i32 @test1() {
|
||||||
|
Reference in New Issue
Block a user