Skip to content

Commit 09e26cf

Browse files
lioujheyuigcbot
authored andcommitted
Revert LoopUnrollMaxPercentThresholdBoostForHighRegPressure
to 400 Revert LoopUnrollMaxPercentThresholdBoostForHighRegPressure to 400
1 parent 7591da2 commit 09e26cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

IGC/common/igc_flags.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,9 @@ DECLARE_IGC_REGKEY(DWORD, SetLoopUnrollThreshold, 0,
442442
DECLARE_IGC_REGKEY(
443443
DWORD, SetLoopUnrollThresholdForHighRegPressure, 200,
444444
"Set the loop unroll threshold for shaders with high reg pressure.", false)
445-
DECLARE_IGC_REGKEY(DWORD, SetLoopUnrollMaxPercentThresholdBoostForHighRegPressure, 100,
445+
DECLARE_IGC_REGKEY(DWORD, SetLoopUnrollMaxPercentThresholdBoostForHighRegPressure, 400,
446446
"Set the loop unroll max allowed threshold boost in percentage for shaders with high reg pressure. "
447-
"The LLVM internal value is 400. Setting 100 here because the cost model is currently based on "
448-
"latency instead of code size where the latter is what we need.",
447+
"The LLVM internal value is 400.",
449448
false)
450449
DECLARE_IGC_REGKEY(
451450
bool, EnablePromoteLoopUnrollwithAlloca, true,

0 commit comments

Comments
 (0)