]> 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, 28 Feb 2024 17:41:01 +0000 (17:41 +0000)
commit28e0052ee7f3623c28aa08afc41416b29cbddebc
tree157dcbd9acd4ff1630cab4a60539a22f66ada2fb
parentf4602288efd0b7ce9776abc9397b5903664c8f9c
cmd/compile/internal/inline: refactor fixpoint algorithm

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: I11a84d228e9c94732ee75f0d3c99bc90d83fea09
Reviewed-on: https://go-review.googlesource.com/c/go/+/567695
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