Skip to content

Commit 0a2091a

Browse files
committed
ConstraintElim: try 1.6 factor
1 parent 9146879 commit 0a2091a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,8 +1897,8 @@ static bool eliminateConstraints(Function &F, DominatorTree &DT, LoopInfo &LI,
18971897
const auto &[S, EstimatedRows, EstimatedColumns] = dryRun(F, DT, LI, SE);
18981898

18991899
// Fail early if estimates exceed limits. Row estimate could be off by up to
1900-
// 40%.
1901-
if (EstimatedRows > 1.4 * MaxRows || EstimatedColumns > MaxColumns)
1900+
// 60%.
1901+
if (EstimatedRows > 1.6 * MaxRows || EstimatedColumns > MaxColumns)
19021902
return false;
19031903

19041904
SmallVector<Value *> FunctionArgs;

0 commit comments

Comments
 (0)