From e2454bc1de48a0c1827b2d41534d6f7abfcaef7a Mon Sep 17 00:00:00 2001 From: Taemin Park Date: Wed, 20 Sep 2023 04:19:57 -0700 Subject: [PATCH] [Autobackout][FuncReg]Revert of change: 5d812f71da18fb69be913932a395ec5955bca59b Turn on static profile-guided trimming with threshold adjustment Turn on static profile-guided trimming with threshold adjustment --- IGC/common/igc_flags.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IGC/common/igc_flags.h b/IGC/common/igc_flags.h index 9ceaf22fe5bb..31466e8dc783 100644 --- a/IGC/common/igc_flags.h +++ b/IGC/common/igc_flags.h @@ -599,12 +599,12 @@ DECLARE_IGC_REGKEY(DWORD, PrintFunctionSizeAnalysis, 0, "Print analysis data DECLARE_IGC_REGKEY(DWORD, SubroutineThreshold, 110000, "Minimal kernel size to enable subroutines", false) DECLARE_IGC_REGKEY(DWORD, SubroutineInlinerThreshold, 3000, "Subroutine inliner threshold", false) DECLARE_IGC_REGKEY(bool, ControlKernelTotalSize, true, "Control kernel total size", true) -DECLARE_IGC_REGKEY(bool, StaticProfileGuidedTrimming, true, "Enable static analysis in the kernel trimming", true) +DECLARE_IGC_REGKEY(bool, StaticProfileGuidedTrimming, 0, "Enable static analysis in the kernel trimming", true) DECLARE_IGC_REGKEY(debugString, SelectiveTrimming, 0, "Choose a specific function to trim", true) DECLARE_IGC_REGKEY(bool, EnableGreedyTrimming, false, "Find the optimal set of functions to trim", true) DECLARE_IGC_REGKEY(bool, ControlInlineImplicitArgs, true, "Avoid trimming functions with implicit args", true) DECLARE_IGC_REGKEY(DWORD, ControlInlineTinySize, 200, "Tiny function size for controlling kernel total size", true) -DECLARE_IGC_REGKEY(DWORD, ControlInlineTinySizeForSizeContribution, 500, "Tiny function size for controlling kernel total size", true) +DECLARE_IGC_REGKEY(DWORD, ControlInlineTinySizeForSizeContribution, 100, "Tiny function size for controlling kernel total size", true) DECLARE_IGC_REGKEY(DWORD, ControlInlineSizeContribution, 400, "The size contribution of a function for controlling kernel total size", true) DECLARE_IGC_REGKEY(DWORD, PrintControlKernelTotalSize, 0, "Print Control kernel total size", true) DECLARE_IGC_REGKEY(bool, AddNoInlineToTrimmedFunctions, false, "Tell late passes not to inline trimmed functions", false)