[go] cmd/compile/internal/ssa: move some global config to ssaconfig

3 views
Skip to first unread message

Michael Matloob (Gerrit)

unread,
Aug 15, 2026, 8:08:41 AM (yesterday) Aug 15
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Dmitri Shuralyov, golang...@luci-project-accounts.iam.gserviceaccount.com, Keith Randall, Michael Matloob, golang-co...@googlegroups.com

Michael Matloob submitted the change

Unreviewed changes

17 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
cmd/compile/internal/ssa: move some global config to ssaconfig

This is kinda gross and ideally we should thread through the
config but for now let's move the global config somewhere that's
accessible by the ssa code that sets it and the ssagen code
that reads it. I'm not moving it to ssacore so that it will
be easier for us to clean it up later.

For #80409

[git-generate]
cd src/cmd/compile/internal/ssa
rf 'mv IntrinsicsDebug IntrinsicsDisable BuildDebug BuildTest BuildStats BuildDump GenssaDump ./ssaconfig'
Change-Id: Ied9aa3f00f5b0f1eba32d1e77e80732c6a6a6964
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Auto-Submit: Michael Matloob <mat...@golang.org>
Reviewed-by: Michael Matloob <mat...@google.com>
Reviewed-by: Keith Randall <k...@golang.org>
Files:
  • M src/cmd/compile/internal/ssa/compile.go
  • A src/cmd/compile/internal/ssa/ssaconfig/compile.go
  • M src/cmd/compile/internal/ssagen/intrinsics.go
  • M src/cmd/compile/internal/ssagen/ssa.go
Change size: M
Delta: 4 files changed, 38 insertions(+), 26 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Ied9aa3f00f5b0f1eba32d1e77e80732c6a6a6964
Gerrit-Change-Number: 806583
Gerrit-PatchSet: 27
Gerrit-Owner: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages