[PATCH] D35633: [ThinLTO] Add FunctionAttr NoRecurse and ReadAttr propagation to ThinLTO
Charles Saternos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 10:09:30 PDT 2017
ncharlie created this revision.
Herald added subscribers: eraman, inglorion, mehdi_amini.
This patch addresses part of Bug 33648. It adds new information to the summary and implements part of the FunctionAttrs pass (propagating read attrs and norecurse attrs). The other part of the pass is not implement at the moment, since it requires argument information which currently is not included in the summary.
https://reviews.llvm.org/D35633
Files:
include/llvm/IR/ModuleSummaryIndex.h
include/llvm/IR/ModuleSummaryIndexYAML.h
include/llvm/Transforms/IPO/FunctionAttrs.h
include/llvm/Transforms/IPO/FunctionImport.h
lib/Analysis/ModuleSummaryAnalysis.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/LTO/LTO.cpp
lib/LTO/LTOBackend.cpp
lib/Transforms/IPO/FunctionAttrs.cpp
lib/Transforms/IPO/FunctionImport.cpp
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35633.107330.patch
Type: text/x-patch
Size: 21058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170719/005edd4f/attachment.bin>
More information about the llvm-commits
mailing list