]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: ensure spills of int/float reg args land in abi slots
authorDavid Chase <drchase@google.com>
Wed, 7 Apr 2021 13:58:02 +0000 (09:58 -0400)
committerDavid Chase <drchase@google.com>
Fri, 9 Apr 2021 14:33:44 +0000 (14:33 +0000)
commita690a5d75fee3b23e9ab80bd7b48cafb52ce4615
tree7e27ad30c71c35eaffc2b2170936650b91e55656
parentd138ee2cfbd2be3edde22ad8a69da7657d0b0b7a
cmd/compile: ensure spills of int/float reg args land in abi slots

We noticed a while ago that register argument spills were not always
landing where they should.

Updates #40724.

Change-Id: I0b7c3279a2f6270577481c252bae4568cbb6e796
Reviewed-on: https://go-review.googlesource.com/c/go/+/308510
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/stackalloc.go