1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/Inline/AMDGPU
Stanislav Mekhanoshin cfbb42515c [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
inline-amdgpu-ieee.ll
inline-hint.ll [AMDGPU] Use InliningThresholdMultiplier for inline hint 2019-05-31 16:19:26 +00:00
inline-target-cpu.ll
inline-target-feature-sram-ecc.ll
inline-target-feature-xnack.ll
lit.local.cfg