]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: make oneBit function generic
authorMichael Munday <mndygolang+git@gmail.com>
Tue, 26 Aug 2025 21:12:29 +0000 (22:12 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 29 Aug 2025 17:02:33 +0000 (10:02 -0700)
commit84b070bfb15ca598af5d1113e6666587499ad26d
treec2ad074986a7ba5549a2288542c5f6e5128615b5
parentfe42628dae69c907bc579219a38fce6bc8f18c6c
cmd/compile/internal/ssa: make oneBit function generic

Allows rewrite rules using oneBit to be made more compact.

Change-Id: I986715f77db5b548759d809fe668e1893048f25c
Reviewed-on: https://go-review.googlesource.com/c/go/+/699295
Reviewed-by: Youlin Feng <fengyoulin@live.com>
Commit-Queue: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssa/_gen/generic.rules
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewritegeneric.go