]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: optimize loads from readonly globals into constants on loong64
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Thu, 4 Sep 2025 11:13:23 +0000 (19:13 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 5 Sep 2025 15:42:28 +0000 (08:42 -0700)
commitf5b20689e9a055223a6dbb6b63f53648ed02cd74
treed59e5984be8367a6010d5ca1bb65f3f7dff02587
parent3492e4262b751c5a117a3c77ba5e243b16918e61
cmd/compile: optimize loads from readonly globals into constants on loong64

Ref: CL 141118
Update #26498

Change-Id: I9c4ad2bedc4d50bd273bbe9119a898d4fca95e45
Reviewed-on: https://go-review.googlesource.com/c/go/+/700875
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssa/_gen/LOONG64.rules
src/cmd/compile/internal/ssa/rewriteLOONG64.go
test/codegen/strings.go