diff options
| author | Than McIntosh <thanm@google.com> | 2024-04-05 20:17:17 +0000 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2024-04-09 17:45:39 +0000 |
| commit | ecfddf4841ceaa7fd253aae0b6d9d0d59625674b (patch) | |
| tree | aca75b284ffe7b552487243643d2d600f8ff440b /src/cmd/compile/internal/base | |
| parent | 82e929e4f8ea465c9bd2c34df850cfb0c3d32791 (diff) | |
| download | go-ecfddf4841ceaa7fd253aae0b6d9d0d59625674b.tar.xz | |
cmd/compile/internal/base: enable stack slot merging by default
Flag flip to enable stack slot merging by default when optimizing.
Please see the earlier CL for details on what this is doing.
Updates #62737.
Updates #65532.
Updates #65495.
Change-Id: I8e30d553e74ace43d418f883199721f05320d3d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/576681
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/cmd/compile/internal/base')
| -rw-r--r-- | src/cmd/compile/internal/base/flag.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/base/flag.go b/src/cmd/compile/internal/base/flag.go index 0889c37b0d..1ee3337088 100644 --- a/src/cmd/compile/internal/base/flag.go +++ b/src/cmd/compile/internal/base/flag.go @@ -184,6 +184,7 @@ func ParseFlags() { Debug.SyncFrames = -1 // disable sync markers by default Debug.ZeroCopy = 1 Debug.RangeFuncCheck = 1 + Debug.MergeLocals = 1 Debug.Checkptr = -1 // so we can tell whether it is set explicitly |
