llvm-project/llvm/test/Transforms/Inline/AMDGPU
Stanislav Mekhanoshin fbbe5230f4 [AMDGPU] Use InliningThresholdMultiplier for inline hint
AMDGPU uses multiplier 9 for the inline cost. It is taken into account
everywhere except for inline hint threshold. As a result we are penalizing
functions with the inline hint making them less probable to be inlined
than those without the hint. Defaults are 225 for a normal function and
325 for a function with an inline hint. Currently we have effective
threshold 225 * 9 = 2025 for normal functions and just 325 for those with
the hint. That is fixed by this patch.

Differential Revision: https://reviews.llvm.org/D62707

llvm-svn: 362239
2019-05-31 16:19:26 +00:00
..
amdgpu-inline-alloca-argument.ll AMDGPU: Boost inline threshold with addrspacecasted alloca arguments 2019-05-24 16:52:35 +00:00
inline-amdgpu-dx10-clamp.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
inline-amdgpu-ieee.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
inline-hint.ll [AMDGPU] Use InliningThresholdMultiplier for inline hint 2019-05-31 16:19:26 +00:00
inline-target-cpu.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
inline-target-feature-sram-ecc.ll Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00
inline-target-feature-xnack.ll AMDGPU: Assume xnack is enabled by default 2019-05-16 14:48:34 +00:00
lit.local.cfg Revert "Temporarily Revert "Add basic loop fusion pass."" 2019-04-17 04:52:47 +00:00