From d741483a1f3525f07f00710f02c0eed6488c7bab Mon Sep 17 00:00:00 2001 From: Ian Alexander Date: Mon, 27 Oct 2025 12:32:23 -0400 Subject: [PATCH] cmd/go: increase stmt threshold on amd64 This change slightly increases the stmt threshold on the amd64 platform. Change-Id: I87e39753b52d6d72f2cd77f1cb8015b1e550921a Reviewed-on: https://go-review.googlesource.com/c/go/+/715340 Reviewed-by: David Chase LUCI-TryBot-Result: Go LUCI --- src/cmd/compile/internal/ssa/stmtlines_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ssa/stmtlines_test.go b/src/cmd/compile/internal/ssa/stmtlines_test.go index d0f09da86ff..b55ac2b3f4e 100644 --- a/src/cmd/compile/internal/ssa/stmtlines_test.go +++ b/src/cmd/compile/internal/ssa/stmtlines_test.go @@ -139,7 +139,7 @@ func TestStmtLines(t *testing.T) { var m float64 if runtime.GOARCH == "amd64" { - m = 0.011 // > 98.9% obtained on amd64, no backsliding + m = 0.0111 // > 98.89% obtained on amd64, no backsliding } else if runtime.GOARCH == "riscv64" { m = 0.03 // XXX temporary update threshold to 97% for regabi } else {