You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create FunctionCloningThreshold flag to limit the number of times functions can be cloned.
Functions are cloned for each function group they belong to. This can cause a function to be compiled N times for N function groups that all call this function.
When N is large, this will greatly increase the compile time and memory usage.
This flag limits the number of times a function can be cloned, such that if it's exceeded, we convert it to an indirectly called function.
It will only be compiled once, and runtime relocation is used to patch the function address to each function group which it belongs to.
The default value is 0, which means there is no limit.
DECLARE_IGC_REGKEY(DWORD, FunctionControl, 0, "Control function inlining/subroutine/stackcall. See value defs in igc_flags.hpp.", true)
361
361
DECLARE_IGC_REGKEY(bool, EnableStackCallFuncCall, false, "If enabled, the default function call mode will be set to stack call. Otherwise, subroutine call is used.", false)
362
362
DECLARE_IGC_REGKEY(bool, ForceInlineStackCallWithImplArg, false, "If enabled, stack calls that uses implicit args will be force inlined.", true)
0 commit comments