]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reorganize prove pass domain relation table
authorkhr@golang.org <khr@golang.org>
Thu, 11 Jul 2024 19:10:10 +0000 (12:10 -0700)
committerKeith Randall <khr@golang.org>
Wed, 7 Aug 2024 16:08:03 +0000 (16:08 +0000)
commitf32ec41df52379f957a5544cdc53992c57bb629e
treee7cac64f75d9c32ce5fa7d77987189baa68aba18
parent5925cd3d15c7e1eb71125964e681c4b4c2db750d
cmd/compile: reorganize prove pass domain relation table

Move some code from when we learn that we take a branch, to when
we learn that a boolean is true or false. It is more consistent
this way (and may lead to a few more cases where we can derive
useful relations).

Change-Id: Iea7b2d6740e10c9c71c4b1546881f501da81cd21
Reviewed-on: https://go-review.googlesource.com/c/go/+/599098
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/compile/internal/ssa/prove.go
test/prove.go