Skip to content

Commit b053669

Browse files
traoux1gfxbot
authored andcommitted
increase threshold for early out pattern to avoid catching
inefficient case Change-Id: I58a2ff6c61ad44887fb6bc0daeb4d3dba63f78e8
1 parent 535c477 commit b053669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CustomUnsafeOptPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ bool EarlyOutPatterns::processBlock(BasicBlock* BB)
27952795
DotProductSourceMatch(CI) && canOptimizeDotProduct(Values, &II);
27962796
// Lower the ratio threshold for this case
27972797
FoldThreshold = 9;
2798-
RatioNeeded = 3;
2798+
RatioNeeded = 4;
27992799
}
28002800
else if (auto *GII = dyn_cast<GenIntrinsicInst>(&II))
28012801
{

0 commit comments

Comments
 (0)