]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile: enhance prove to infer bounds in slice len/cap calculations
authorDavid Chase <drchase@google.com>
Wed, 17 Sep 2025 21:19:15 +0000 (17:19 -0400)
committerDavid Chase <drchase@google.com>
Sat, 20 Sep 2025 21:28:01 +0000 (14:28 -0700)
commit2ca96d218d2cbaad99ba807b3bddd90bbf6a5ba8
treec79146e520935ddc04cebe71b5185e406715c5fa
parentc0f031fcc31b53b5844d80f2f9433fd62a655a78
[dev.simd] cmd/compile: enhance prove to infer bounds in slice len/cap calculations

the example comes up in chunked reslicing, e.g. A[i:] where i
has a relationship with len(A)-K.

Change-Id: Ib97dede6cfc7bbbd27b4f384988f741760686604
Reviewed-on: https://go-review.googlesource.com/c/go/+/704875
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/prove.go