]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: leave the horses alone
authorJorropo <jorropo.pgm@gmail.com>
Sat, 18 Oct 2025 06:34:24 +0000 (08:34 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 21 Oct 2025 14:39:38 +0000 (07:39 -0700)
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>
src/cmd/compile/internal/ssa/compile.go

index 1f47362583353e69fa95e82aa98f91fcdb0cd7ce..c749ea9013d4c3b00b6ba587c04723f46827cb65 100644 (file)
@@ -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"},
 }