]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal: stop lowering OpConvert on riscv64
authorJoel Sing <joel@sing.id.au>
Fri, 6 Oct 2023 05:45:12 +0000 (16:45 +1100)
committerJoel Sing <joel@sing.id.au>
Sat, 7 Oct 2023 12:31:59 +0000 (12:31 +0000)
commitf711892a8a4978b76a8fedecbd6fb7820736e145
tree1deecf787b2a8282bee23f2148fc700ec11a4a81
parent561bf0457fc6d602b6c22dc3c9f884cf776f5b36
cmd/compile/internal: stop lowering OpConvert on riscv64

Lowering for OpConvert was removed for all architectures in CL#108496,
prior to the riscv64 port being upstreamed. Remove lowering of OpConvert
on riscv64, which brings it inline with all other architectures. This
results in 1,600+ instructions being removed from the riscv64 go binary.

Change-Id: Iaaf1f8b397875926604048b66ad8ac91a98c871e
Reviewed-on: https://go-review.googlesource.com/c/go/+/533335
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/cmd/compile/internal/riscv64/ssa.go
src/cmd/compile/internal/ssa/_gen/RISCV64.rules
src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteRISCV64.go