summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionImport/funcimport_debug.ll
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-26 05:40:34 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-26 05:40:34 +0000
commit01e321306b9f505afa2c15428bfcb2143a70a95f (patch)
tree03da481f252c49682533d6e72d75072ea85bea0f /llvm/test/Transforms/FunctionImport/funcimport_debug.ll
parent40221682ee9b2b36538f12ec56eea6629801a3fe (diff)
downloadbcm5719-llvm-01e321306b9f505afa2c15428bfcb2143a70a95f.tar.gz
bcm5719-llvm-01e321306b9f505afa2c15428bfcb2143a70a95f.zip
ThinLTO: use the callgraph from the combined index to drive the FunctionImporter
Summary: Now that the summary contains the full reference/call graph, we can replace the existing function importer that loads and inspect the IR to iteratively walk the call graph by a traversal based purely on the summary information. Decouple the actual importing decision from any IR manipulation. Reviewers: tejohnson Subscribers: llvm-commits, joker.eph Differential Revision: http://reviews.llvm.org/D18343 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264503
Diffstat (limited to 'llvm/test/Transforms/FunctionImport/funcimport_debug.ll')
-rw-r--r--llvm/test/Transforms/FunctionImport/funcimport_debug.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/FunctionImport/funcimport_debug.ll b/llvm/test/Transforms/FunctionImport/funcimport_debug.ll
index f137e9d933a..9838cf5524b 100644
--- a/llvm/test/Transforms/FunctionImport/funcimport_debug.ll
+++ b/llvm/test/Transforms/FunctionImport/funcimport_debug.ll
@@ -4,7 +4,7 @@
; RUN: llvm-lto -thinlto -o %t3 %t.bc %t2.bc
; Do the import now and confirm that metadata is linked for imported function.
-; RUN: opt -function-import -summary-file %t3.thinlto.bc %s -S | FileCheck %s
+; RUN: opt -function-import -summary-file %t3.thinlto.bc %t.bc -S | FileCheck %s
; CHECK: define available_externally void @func()
OpenPOWER on IntegriCloud