Skip to content

Commit

Permalink
Try tracking more assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
hez2010 committed Dec 9, 2024
1 parent 4298c14 commit d84fc00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/assertionprop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,11 +668,11 @@ void Compiler::optAssertionInit(bool isLocalProp)
}
else if (lvaTrackedCount < 64)
{
optMaxAssertionCount = 128;
optMaxAssertionCount = 192;
}
else
{
optMaxAssertionCount = (AssertionIndex)min(maxTrackedLocals, ((3 * lvaTrackedCount / 128) + 1) * 64);
optMaxAssertionCount = (AssertionIndex)min(maxTrackedLocals, lvaTrackedCount) * 3;
}
}
else
Expand Down

0 comments on commit d84fc00

Please sign in to comment.