cmd/compile: don't put SP in index slot
For idx1 ops, SP can appear in the index slot. Swap SP into the base register slot so we can encode the instruction. Fixes #15053 Change-Id: I19000cc9d6c86c7611743481e6e2cb78b1ef04eb Reviewed-on: https://go-review.googlesource.com/21384 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Alexandru Moșoi <alexandru@mosoi.ro> TryBot-Result: Gobot Gobot <gobot@golang.org>
Showing
Please register or sign in to comment