From: Jorropo Date: Sat, 18 Oct 2025 06:34:24 +0000 (+0200) Subject: cmd/compile: leave the horses alone X-Git-Tag: go1.26rc1~555 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b0dcb95542;p=gostls13.git 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 --- 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"}, }