]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
cmd/compile: use isUnsignedPowerOfTwo rather than isPowerOfTwo for unsigneds
authorJorropo <jorropo.pgm@gmail.com>
Thu, 4 Dec 2025 03:17:58 +0000 (04:17 +0100)
committerGopher Robot <gobot@golang.org>
Thu, 4 Dec 2025 16:13:28 +0000 (08:13 -0800)
commit7b67b68a0da091be2d7dc3e69c4df9a1a080d0de
treea21e82ff1e5ddec4e630a62e8f72aadeb6da95f1
parent2b62144069a130cc469f33009c0c392cc6de8810
cmd/compile: use isUnsignedPowerOfTwo rather than isPowerOfTwo for unsigneds

Fixes #76688

Change-Id: Icb8dab54a5ce7d83b656d50d5ea605d2a62b96f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/726680
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/compile/internal/ssa/prove.go
test/prove.go