]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: pull multiple adds out of an unsafe.Pointer<->uintptr conversion
authorKeith Randall <khr@golang.org>
Mon, 18 Nov 2024 23:52:13 +0000 (15:52 -0800)
committerKeith Randall <khr@golang.org>
Thu, 21 Nov 2024 22:57:04 +0000 (22:57 +0000)
commitf0b01092429a449313c9f54434417337ed26b20b
treef645aa0215e27102044f8d9222f172be9de1f111
parentfab2b8b0fa569959243345dd4dcef651451d24fa
cmd/compile: pull multiple adds out of an unsafe.Pointer<->uintptr conversion

This came up in some swissmap code.

Change-Id: I3c6705a5cafec8cb4953dfa9535cf0b45255cc83
Reviewed-on: https://go-review.googlesource.com/c/go/+/629516
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/_gen/generic.rules
src/cmd/compile/internal/ssa/rewritegeneric.go
test/codegen/unsafe.go [new file with mode: 0644]