aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile
diff options
context:
space:
mode:
authorJorropo <jorropo.pgm@gmail.com>2025-10-18 08:34:24 +0200
committerGopher Robot <gobot@golang.org>2025-10-21 07:39:38 -0700
commitb0dcb955421e1fe8021dbe23b8dd8d2b184da395 (patch)
tree1f40a9cc2df38828fcaa0729cd3c9ab180241bb4 /src/cmd/compile
parent9a5a1202f4c4d5a7048b149b65c3e5b82a2de9aa (diff)
downloadgo-b0dcb955421e1fe8021dbe23b8dd8d2b184da395.tar.xz
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 <drchase@google.com> Auto-Submit: Jorropo <jorropo.pgm@gmail.com> Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/cmd/compile')
-rw-r--r--src/cmd/compile/internal/ssa/compile.go2
1 files changed, 1 insertions, 1 deletions
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"},
}