diff options
author | Teresa Johnson <tejohnson@google.com> | 2017-01-05 14:32:16 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2017-01-05 14:32:16 +0000 |
commit | 519465b993268b5b07b676a5224d858169507f1b (patch) | |
tree | b9f2413824b261668e8eae7b532765adcdd72fbe /llvm/test/Bitcode/thinlto-function-summary.ll | |
parent | 337139830e14dacd3b511cc180475ec277638a09 (diff) | |
download | bcm5719-llvm-519465b993268b5b07b676a5224d858169507f1b.tar.gz bcm5719-llvm-519465b993268b5b07b676a5224d858169507f1b.zip |
[ThinLTO] Subsume all importing checks into a single flag
Summary:
This adds a new summary flag NotEligibleToImport that subsumes
several existing flags (NoRename, HasInlineAsmMaybeReferencingInternal
and IsNotViableToInline). It also subsumes the checking of references
on the summary that was being done during the thin link by
eligibleForImport() for each candidate. It is much more efficient to
do that checking once during the per-module summary build and record
it in the summary.
Reviewers: mehdi_amini
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D28169
llvm-svn: 291108
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll')
-rw-r--r-- | llvm/test/Bitcode/thinlto-function-summary.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary.ll b/llvm/test/Bitcode/thinlto-function-summary.ll index e42c55c1c2e..594aaab566d 100644 --- a/llvm/test/Bitcode/thinlto-function-summary.ll +++ b/llvm/test/Bitcode/thinlto-function-summary.ll @@ -10,7 +10,7 @@ ; BC-NEXT: <PERMODULE {{.*}} op0=1 op1=0 ; BC-NEXT: <PERMODULE {{.*}} op0=2 op1=0 ; BC-NEXT: <PERMODULE {{.*}} op0=3 op1=7 -; BC-NEXT: <PERMODULE {{.*}} op0=4 op1=32 +; BC-NEXT: <PERMODULE {{.*}} op0=4 op1=16 ; BC-NEXT: <ALIAS {{.*}} op0=5 op1=0 op2=3 ; BC-NEXT: </GLOBALVAL_SUMMARY_BLOCK ; BC-NEXT: <VALUE_SYMTAB |