]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: schedule SP earlier
authorKeith Randall <khr@golang.org>
Wed, 15 Feb 2023 01:25:48 +0000 (17:25 -0800)
committerKeith Randall <khr@google.com>
Wed, 15 Feb 2023 15:41:26 +0000 (15:41 +0000)
commit40ed3591829f67e7a116180aec543dd15bfcf5f9
tree56fb7a8813c07f2435fd0aae70537b0b0bfd777f
parent30151f2aac2882dcb369019acfec95d16fea3c02
cmd/compile: schedule SP earlier

The actual scheduling of SP early doesn't really matter, but lots of
early spills (of arguments) depend on SP so they can't schedule until
SP does.

Fixes #58482

Change-Id: Ie581fba7cb173d665c11f797f39d824b1c040a2d
Reviewed-on: https://go-review.googlesource.com/c/go/+/468455
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alessandro Arzilli <alessandro.arzilli@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/debug_lines_test.go
src/cmd/compile/internal/ssa/schedule.go