]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: wire up late lower block function
authorJoel Sing <joel@sing.id.au>
Wed, 19 Oct 2022 04:53:43 +0000 (15:53 +1100)
committerJoel Sing <joel@sing.id.au>
Thu, 20 Oct 2022 16:13:20 +0000 (16:13 +0000)
commitc0f27eb3d580c8b9efd73802678eba4c6c9461be
treef9b6f4ccdc83e1f677e3d07d72bc974b520293a3
parent3e6ca3a506fc89f19277b3c19b751847b3864185
cmd/compile/internal/ssa: wire up late lower block function

Currently, the lowerBlock function is reused with lateLowerValue, meaning
that any block rewriting rules in the late lower pass are silently ignored.
Change the late lower pass to actually use the lateLowerBlock function with
the lateLowerValue function.

Change-Id: Iaac1c2955bb27078378cac50cde3716e79a7d9f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/444335
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/lower.go