]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssagen: add check for duplicate intrinsics
authorJoel Sing <joel@sing.id.au>
Sun, 4 Aug 2024 14:33:25 +0000 (00:33 +1000)
committerJoel Sing <joel@sing.id.au>
Tue, 27 Aug 2024 14:35:25 +0000 (14:35 +0000)
commit7c54e024e892cbb8ed24274f0b22505356220f10
tree9748f5ed5947da547c41186e05281dd0f2fcdb99
parentf490a8d8fa7a4cd4bbb5de22efe6b629ad65bb9e
cmd/compile/internal/ssagen: add check for duplicate intrinsics

Add a check to ensure that intrinsics are not being overwritten.
Remove two S390X intrinsics that are being replaced by aliases and
are therefore ineffective.

Change-Id: I4187a169c14ca75c45a67f41a1d626d76b82bb72
Reviewed-on: https://go-review.googlesource.com/c/go/+/605479
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssagen/intrinsics.go