]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ir: simplify printing of OLITERALs
authorMatthew Dempsky <mdempsky@google.com>
Wed, 6 Sep 2023 21:43:22 +0000 (14:43 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 7 Sep 2023 15:10:10 +0000 (15:10 +0000)
commitae09ca6c0fd212a19096a1c9c504fe59fc7471bf
tree72a8cb374eec1d4f13d9caedaecfd05f965d86c8
parent660620dd45dc11f2d889add79bedf2dc771c7d04
cmd/compile/internal/ir: simplify printing of OLITERALs

This formatting used to be relevant to user error diagnostics and
(much earlier) even to the old textual export data format, but now
it's only relevant to backend debugging. So we can simplify a lot,
adjusting a few test expectations accordingly.

Change-Id: Ibe8e029284ce6150bfa24ef794d8d9eff66dbdea
Reviewed-on: https://go-review.googlesource.com/c/go/+/526375
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/ir/expr.go
src/cmd/compile/internal/ir/fmt.go
src/cmd/compile/internal/ir/val.go
src/cmd/compile/internal/types/fmt.go
src/cmd/compile/internal/types/type.go