diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-26 05:40:34 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-26 05:40:34 +0000 |
commit | 01e321306b9f505afa2c15428bfcb2143a70a95f (patch) | |
tree | 03da481f252c49682533d6e72d75072ea85bea0f /llvm/test/Transforms/FunctionImport/funcimport_alias.ll | |
parent | 40221682ee9b2b36538f12ec56eea6629801a3fe (diff) | |
download | bcm5719-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_alias.ll')
-rw-r--r-- | llvm/test/Transforms/FunctionImport/funcimport_alias.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/FunctionImport/funcimport_alias.ll b/llvm/test/Transforms/FunctionImport/funcimport_alias.ll index c50cf7e9117..ebb126768aa 100644 --- a/llvm/test/Transforms/FunctionImport/funcimport_alias.ll +++ b/llvm/test/Transforms/FunctionImport/funcimport_alias.ll @@ -6,7 +6,7 @@ ; Do the import now. Ensures that the importer handles an external call ; from imported callanalias() to a function that is defined already in ; the dest module, but as an alias. -; 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 define i32 @main() #0 { entry: |