]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: loads from readonly globals into const for mips64x
authorMeng Zhuo <mzh@golangcn.org>
Tue, 16 Mar 2021 09:04:31 +0000 (17:04 +0800)
committerMeng Zhuo <mzh@golangcn.org>
Tue, 16 Mar 2021 09:07:17 +0000 (09:07 +0000)
commitafe517590cc5e236a8f4f3af35ca64ca1d55b2e5
tree704c2b91a32865bb5436e01a835d2ea0fba6ec51
parent600259b099d3ba215912ce957143febe84c684fb
cmd/compile: loads from readonly globals into const for mips64x

Ref: CL 141118
Update #26498

Change-Id: If4ea55c080b9aa10183eefe81fefbd4072deaf3a
Reviewed-on: https://go-review.googlesource.com/c/go/+/280646
Trust: Meng Zhuo <mzh@golangcn.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/gen/MIPS64.rules
src/cmd/compile/internal/ssa/rewriteMIPS64.go
test/codegen/strings.go