]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: fix registers for in-place instructions
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 25 Jul 2015 03:09:39 +0000 (20:09 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Jul 2015 17:24:54 +0000 (17:24 +0000)
commitb61f8c8df3247945ef723a22df0327264adfa3f9
tree376b56a449c1b627e8db844dd1844ea5f5047c42
parent0bb2a50a55b15b7a9ea63cfa55a29e13ef29b542
[dev.ssa] cmd/compile: fix registers for in-place instructions

Some of these were right; others weren't.

Fixes 'GOGC=off GOSSAPKG=mime go test -a mime'.

The right long term fix is probably to teach the
register allocator about in-place instructions.
In the meantime, all the tests that we can run
now pass.

Change-Id: I8e37b00a5f5e14f241b427d45d5f5cc1064883a2
Reviewed-on: https://go-review.googlesource.com/12664
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/TODO