[PATCH] D26063: [ThinLTO] Use NoPromote flag in summary during promotion

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 20:48:45 PDT 2016


tejohnson created this revision.
tejohnson added a reviewer: mehdi_amini.
tejohnson added a subscriber: llvm-commits.

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).


https://reviews.llvm.org/D26063

Files:
  include/llvm/Transforms/Utils/FunctionImportUtils.h
  lib/Transforms/Utils/FunctionImportUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26063.76163.patch
Type: text/x-patch
Size: 5162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161028/4cab7d88/attachment.bin>


More information about the llvm-commits mailing list