From b11391bb47d6fb75639c331378440b405e64be7a Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Fri, 8 Nov 2019 15:50:55 -0800 Subject: 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 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 --- llvm/lib/AsmParser/LLToken.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/AsmParser/LLToken.h') diff --git a/llvm/lib/AsmParser/LLToken.h b/llvm/lib/AsmParser/LLToken.h index e418f7cbfb4..9153b49aa04 100644 --- a/llvm/lib/AsmParser/LLToken.h +++ b/llvm/lib/AsmParser/LLToken.h @@ -382,6 +382,7 @@ enum Kind { kw_noRecurse, kw_returnDoesNotAlias, kw_noInline, + kw_alwaysInline, kw_calls, kw_callee, kw_hotness, -- cgit v1.2.3