diff options
| author | Keith Randall <khr@golang.org> | 2015-12-09 15:58:18 -0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2015-12-11 21:08:15 +0000 |
| commit | c140df03267ab2e73ffd076002811aaa00fdc80e (patch) | |
| tree | dffa2bec2304a31c1be5259506abb8fc5d453a41 /src/cmd/compile/internal/ssa/stackalloc.go | |
| parent | 09ffa0c4c772ff119d42820a8d90aba8b481397c (diff) | |
| download | go-c140df03267ab2e73ffd076002811aaa00fdc80e.tar.xz | |
[dev.ssa] cmd/compile: allocate the flag register in a separate pass
Spilling/restoring flag values is a pain to do during regalloc.
Instead, allocate the flag register in a separate pass. Regalloc then
operates normally on any flag recomputation instructions.
Change-Id: Ia1c3d9e6eff678861193093c0b48a00f90e4156b
Reviewed-on: https://go-review.googlesource.com/17694
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/stackalloc.go')
0 files changed, 0 insertions, 0 deletions
