]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix error message on loong64
authorGuoqi Chen <chenguoqi@loongson.cn>
Tue, 4 Nov 2025 09:22:24 +0000 (17:22 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Thu, 6 Nov 2025 00:42:47 +0000 (16:42 -0800)
Change-Id: I90428330b17ab9f93ae94a77cefc24464e225df5
Reviewed-on: https://go-review.googlesource.com/c/go/+/717700
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/compile/internal/loong64/ssa.go

index 5e554282839d2e41b9f71ffef7d4bad3f71df375..84bbf9b394d8bc35db151c0caff7b54469acbc92 100644 (file)
@@ -692,7 +692,7 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {
                        //   vs
                        //     16 instructions in the straightline code
                        //   Might as well use straightline code.
-                       v.Fatalf("ZeroLoop size too small %d", n)
+                       v.Fatalf("MoveLoop size too small %d", n)
                }
 
                // Put iteration count in a register.