[PATCH] D70014: ThinLTO : Import always_inline functions irrespective of the threshold
Bharathi Seshadri via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 09:40:11 PST 2019
Bharathi created this revision.
Bharathi added a reviewer: tejohnson.
Herald added subscribers: llvm-commits, arphaman, dexonsmith, steven_wu, hiraditya, inglorion, mehdi_amini.
Herald added a project: LLVM.
A user can force a function to be inlined by specifying the always_inline attribute. Currently, thinlto implementation is not aware of always_inline functions and does not guarantee import of such functions, which in turn can prevent inlining of such functions.
https://reviews.llvm.org/D70014
Files:
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/AsmParser/LLLexer.cpp
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/LLToken.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/ModuleSummaryIndex.cpp
llvm/lib/Transforms/IPO/FunctionImport.cpp
llvm/test/Assembler/thinlto-summary.ll
llvm/test/ThinLTO/X86/Inputs/funcimport_alwaysinline.ll
llvm/test/ThinLTO/X86/dot-dumper.ll
llvm/test/ThinLTO/X86/dot-dumper2.ll
llvm/test/ThinLTO/X86/funcimport_alwaysinline.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70014.228473.patch
Type: text/x-patch
Size: 15178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191108/d8277f8e/attachment.bin>
More information about the llvm-commits
mailing list