diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-10-29 21:31:48 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-10-29 21:31:48 +0000 |
commit | 1b9c2be8f47247aa9ea7e76809f94a0e3095a407 (patch) | |
tree | 74921f28ccca8ff9d1847e88f36171c7902899d9 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 310474f576e669232a481b4ba9a9c9fe50457076 (diff) | |
download | llvm-1b9c2be8f47247aa9ea7e76809f94a0e3095a407.zip llvm-1b9c2be8f47247aa9ea7e76809f94a0e3095a407.tar.gz llvm-1b9c2be8f47247aa9ea7e76809f94a0e3095a407.tar.bz2 |
[ThinLTO] Use NoPromote flag in summary during promotion
Summary:
Replace the check of whether a GV has a section with the flag check
in the summary. This is in preparation for using the NoPromote flag
to convey other situations when we can't promote (e.g. locals used in
inline asm).
Reviewers: mehdi_amini
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D26063
llvm-svn: 285507
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions