summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-01-05 14:32:16 +0000
committerTeresa Johnson <tejohnson@google.com>2017-01-05 14:32:16 +0000
commit519465b993268b5b07b676a5224d858169507f1b (patch)
treeb9f2413824b261668e8eae7b532765adcdd72fbe /llvm/lib/Target/X86/X86TargetTransformInfo.cpp
parent337139830e14dacd3b511cc180475ec277638a09 (diff)
downloadbcm5719-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/lib/Target/X86/X86TargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud