aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-10-29 21:31:48 +0000
committerTeresa Johnson <tejohnson@google.com>2016-10-29 21:31:48 +0000
commit1b9c2be8f47247aa9ea7e76809f94a0e3095a407 (patch)
tree74921f28ccca8ff9d1847e88f36171c7902899d9 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent310474f576e669232a481b4ba9a9c9fe50457076 (diff)
downloadllvm-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