From d84fc0088f8c7fa21d76036e9027435f0898020d Mon Sep 17 00:00:00 2001 From: Steven He Date: Tue, 10 Dec 2024 00:07:48 +0900 Subject: [PATCH] Try tracking more assertions --- src/coreclr/jit/assertionprop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/jit/assertionprop.cpp b/src/coreclr/jit/assertionprop.cpp index d65c25dd227f82..4057387501cda0 100644 --- a/src/coreclr/jit/assertionprop.cpp +++ b/src/coreclr/jit/assertionprop.cpp @@ -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