]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor portable SSA Op handling
authorMatthew Dempsky <mdempsky@google.com>
Tue, 7 Mar 2017 20:31:59 +0000 (12:31 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 7 Mar 2017 21:17:03 +0000 (21:17 +0000)
commit5e4a958351222233fbc6f82ab621a7d15299eea5
treef90e1745811bb8df1c22a95d2c9b8c00754d807c
parentb992c2649e6c30d25baeb3c26aba0e90b800a1f4
cmd/compile: refactor portable SSA Op handling

Several SSA ops will always behave identically regardless of target
architecture, so handle those within gc/ssa.go instead.

Passes toolstash-check -all.

Change-Id: I54d514e80ab86723e44332a5a38e3054cbca8c5d
Reviewed-on: https://go-review.googlesource.com/37931
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/arm/ssa.go
src/cmd/compile/internal/arm64/ssa.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/mips/ssa.go
src/cmd/compile/internal/mips64/ssa.go
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/s390x/ssa.go
src/cmd/compile/internal/x86/ssa.go