Inliner: allow replay log to override force inlines
authorAndy Ayers <andya@microsoft.com>
Tue, 7 Jun 2016 22:09:16 +0000 (15:09 -0700)
committerAndy Ayers <andya@microsoft.com>
Tue, 7 Jun 2016 22:09:16 +0000 (15:09 -0700)
commit9f49f5c3491b59bdbe02e3d6cd0d5f3ff936e673
tree575dab7e569026ee101f197a8281b04a6f99043c
parent8dbddd4c4ca9d3ad59f73c074bad4832f5320f00
Inliner: allow replay log to override force inlines

ReplayPolicy only impacts discretionary inlines, so could not control
force inline candidates. This has lead to some confusion during inline
studies.

Since most cases of force inline are performance related, allow replay
to override and control these force inline candidates.

This might be useful down the road to study how likely it is that a force
inline directive is either unnecessary or perhaps even detremental to
performance.

Commit migrated from https://github.com/dotnet/coreclr/commit/3dec80f0a06a477b5e831b2944a86db43333e64a
src/coreclr/src/jit/inlinepolicy.cpp
src/coreclr/src/jit/inlinepolicy.h