aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/buffer_test.go
diff options
context:
space:
mode:
authorMichael Munday <mndygolang+git@gmail.com>2025-11-07 00:00:50 +0000
committerGopher Robot <gobot@golang.org>2025-11-14 10:59:53 -0800
commit1e5e6663e958dcc9579fb38ffcd8a1999d75128d (patch)
treeebecfcfdcb7d38cb92f9a1aa2f0e15622126c60e /src/bytes/buffer_test.go
parentddd8558e61c80f51a2c65565f8354d12d3c6a418 (diff)
downloadgo-1e5e6663e958dcc9579fb38ffcd8a1999d75128d.tar.xz
cmd/compile: remove unnecessary casts and types from riscv64 rules
This change shouldn't have any impact on codegen. It removes some unnecessary int8 and int64 casts from the riscv64 rewrite rules. It also removes explicit typing where the types already match: `(OldOp <t>) => (NewOp <t>)` is the same as `(OldOp) => (NewOp)`. Change-Id: Ic02b65da8f548c8b9ad9ccb6627a03b7bf6f050f Reviewed-on: https://go-review.googlesource.com/c/go/+/719220 Reviewed-by: Junyang Shao <shaojunyang@google.com> Auto-Submit: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Commit-Queue: Junyang Shao <shaojunyang@google.com>
Diffstat (limited to 'src/bytes/buffer_test.go')
0 files changed, 0 insertions, 0 deletions