[dev.regabi] cmd/compile: improve walkReturn common case
[dev.regabi] cmd/compile: improve walkReturn common case

Instead of evaluating all result expressions up front and then
assigning them to their result destinations, we can interleave
evaluation with assignment. This reduces how much temporary
stack/register space is needed to hold the values in flight.

Doesn't pass toolstash -cmp, because it allows better return statement
code to be generated. E.g., cmd/go's text segment on linux/ppc64le
shrinks another 1kB.

Change-Id: I3fe889342c80e947e0118704ec01f1682c577e6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/281153
Trust: Matthew Dempsky <e56ac2c500064424afac424d4b5e53bd0570a731@google.com>
Run-TryBot: Matthew Dempsky <e56ac2c500064424afac424d4b5e53bd0570a731@google.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Cuong Manh Le <54b4457f1dff6823379654eb5867596497ba782f@gmail.com>

cloudflare/go,cloudflare/go,nawawi/go,golang/go,golang/go,nawawi/go,CAFxX/go,cloudflare/go,CAFxX/go,CAFxX/go,nawawi/go,nawawi/go,cloudflare/go,CAFxX/go,golang/go,golang/go,CAFxX/go,nawawi/go,cloudflare/go,CAFxX/go,CAFxX/go,cloudflare/go,nawawi/go,cloudflare/go,cloudflare/go,nawawi/go,CAFxX/go,golang/go,golang/go,golang/go,nawawi/go,golang/go