diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2023-01-03 12:11:44 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2023-01-26 23:27:24 +0000 |
| commit | 6f6276ce366f0f9cd9748d9c910310e0bc7dc8e5 (patch) | |
| tree | 934d69c784677969b42a59d08e1f3f914fd9b9a5 /src/runtime/debug | |
| parent | a0bebffa339efc92af3a51781d910ef79b830482 (diff) | |
| download | go-6f6276ce366f0f9cd9748d9c910310e0bc7dc8e5.tar.xz | |
cmd/compile/internal/inline: adjust isBigFunc to recognize unified IR codegen
Unified IR generates uniform IR for "a, b = f()" to be able to insert
implicit conversion expressions, but the result is somewhat more
verbose and trips up the inliner's naive cost metrics.
The hairyVisitor.doNode method was already adjusted to account for
this, but isBigFunc needs the same adjustment.
Fixes #57563.
Change-Id: Ia8d86a6e314ec60190c78f40ace4fb30dadc4413
Reviewed-on: https://go-review.googlesource.com/c/go/+/460395
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions
