[all-commits] [llvm/llvm-project] b11391: ThinLTO : Import always_inline functions irrespect...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Fri Nov 8 17:03:51 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b11391bb47d6fb75639c331378440b405e64be7a
https://github.com/llvm/llvm-project/commit/b11391bb47d6fb75639c331378440b405e64be7a
Author: Teresa Johnson <tejohnson at google.com>
Date: 2019-11-08 (Fri, 08 Nov 2019)
Changed paths:
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/AsmParser/LLToken.h
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/ModuleSummaryIndex.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/test/Assembler/thinlto-summary.ll
A llvm/test/ThinLTO/X86/Inputs/funcimport_alwaysinline.ll
M llvm/test/ThinLTO/X86/dot-dumper.ll
M llvm/test/ThinLTO/X86/dot-dumper2.ll
A llvm/test/ThinLTO/X86/funcimport_alwaysinline.ll
Log Message:
-----------
ThinLTO : Import always_inline functions irrespective of the threshold
Summary: 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.
Patch by Bharathi Seshadri <bseshadr at cisco.com>
Reviewers: tejohnson
Reviewed By: tejohnson
Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70014
More information about the All-commits
mailing list