]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: rip out constant handling in poset data structure
authorkhr@golang.org <khr@golang.org>
Fri, 19 Jul 2024 21:54:54 +0000 (14:54 -0700)
committerKeith Randall <khr@golang.org>
Wed, 7 Aug 2024 16:08:28 +0000 (16:08 +0000)
commitb97971ea2edbc29798e8a29a5e270698987a7f1d
treef5f8734b20eafd065cf8101275e43cf865a0f172
parent9b4268c3df9dcc46a7185a6095ea6e2e685ace66
cmd/compile: rip out constant handling in poset data structure

The prove pass now tracks possible constant values explicitly, so
the poset data structure no longer has to. This simplifies a bunch of
the special cases in poset.

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