From d0e3e4e1f3b18b6301fd04b4b621344369d0a812 Mon Sep 17 00:00:00 2001 From: Taemin Park Date: Wed, 27 Sep 2023 08:56:52 +0000 Subject: [PATCH] Turn on SPGT without size contribution optimization Turn on SPGT without size contribution optimization --- IGC/common/igc_flags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IGC/common/igc_flags.h b/IGC/common/igc_flags.h index ae6c06605456..6e5868bbb016 100644 --- a/IGC/common/igc_flags.h +++ b/IGC/common/igc_flags.h @@ -600,7 +600,7 @@ 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, false, "Enable static analysis in the kernel trimming", true) +DECLARE_IGC_REGKEY(bool, StaticProfileGuidedTrimming, true, "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, SkipTrimmingOneCopyFunction, false, "Don't trim a function whose size contribution is no more than its size", true)