]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove ARMv5 special case in register allocator
authorCherry Zhang <cherryyz@google.com>
Fri, 12 Mar 2021 23:45:52 +0000 (18:45 -0500)
committerCherry Zhang <cherryyz@google.com>
Mon, 15 Mar 2021 18:11:32 +0000 (18:11 +0000)
commitc4190fc34dbfe8c7859a91b07ed31a33633d08df
tree04cf1214fc434f6f28ff02d8dc728fce70693cb2
parent8ac6544564be04ed1c0bbf7831ad0f8ed1f067ed
cmd/compile: remove ARMv5 special case in register allocator

The register allocator has a special case that doesn't allocate
LR on ARMv5. This was necessary when softfloat expansion was done
by the assembler. Now softfloat calls are inserted by SSA, so it
works as normal. Remove this special case.

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