]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/inline: refactor fixpoint algorithm
authorMatthew Dempsky <mdempsky@google.com>
Wed, 28 Feb 2024 09:28:43 +0000 (01:28 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 20 Mar 2024 19:08:39 +0000 (19:08 +0000)
commita245aced26a5dde971e6a47dd045a01eadf19f1b
tree5acd05a5dfe48bd06e40cbb234e59d2623dd5da4
parent6af27c49bc875eb0b39e4aea098da98856e31372
cmd/compile/internal/inline: refactor fixpoint algorithm

[Re-land of CL 567695 without further changes.]

This CL refactors the interleaved fixpoint algorithm so that calls can
be inlined in any order. This has no immediate effect, but it will
allow a subsequent CL to prioritize calls by inlheur score.

Change-Id: I8fd6748f0347fd696daee815bf7c9c183572c1ea
Reviewed-on: https://go-review.googlesource.com/c/go/+/573096
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/inline/interleaved/interleaved.go
src/cmd/compile/internal/ir/expr.go