From b0dcb955421e1fe8021dbe23b8dd8d2b184da395 Mon Sep 17 00:00:00 2001 From: Jorropo Date: Sat, 18 Oct 2025 08:34:24 +0200 Subject: [PATCH] cmd/compile: leave the horses alone I don't know why we were eliminating horses, this not cool. Change-Id: I0d4b5a1b2f584e071de0a85ef88f9baf9183e12e Reviewed-on: https://go-review.googlesource.com/c/go/+/712820 Reviewed-by: David Chase Auto-Submit: Jorropo Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI Reviewed-by: Keith Randall --- src/cmd/compile/internal/ssa/compile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ssa/compile.go b/src/cmd/compile/internal/ssa/compile.go index 1f47362583..c749ea9013 100644 --- a/src/cmd/compile/internal/ssa/compile.go +++ b/src/cmd/compile/internal/ssa/compile.go @@ -585,7 +585,7 @@ var passOrder = [...]constraint{ {"memcombine", "lower"}, // late opt transform some CondSelects into math. {"branchelim", "late opt"}, - // ranchelim is an arch-independent pass. + // branchelim is an arch-independent pass. {"branchelim", "lower"}, } -- 2.52.0