]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: enable SSA on ARM by default
authorCherry Zhang <cherryyz@google.com>
Tue, 7 Jun 2016 18:18:04 +0000 (14:18 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 6 Jul 2016 15:05:50 +0000 (15:05 +0000)
commit42181ad852700b790906b4c7ab24c4c23dd874e2
tree6a4e298073fad885b88633101b969e080a875798
parent41a7dca2722b7defafb05b0919fb8dde38819efb
[dev.ssa] cmd/compile: enable SSA on ARM by default

As Josh mentioned in CL 24716, there has been requests for using SSA
for ARM. SSA can still be disabled by setting -ssa=0 for cmd/compile,
or partially enabled with GOSSAFUNC, GOSSAPKG, and GOSSAHASH.

Not enable SSA by default on NaCl, which is not supported yet.

Enable SSA-specific tests on ARM: live_ssa.go and nilptr3_ssa.go;
disable non-SSA tests: live.go, nilptr3.go, and slicepot.go.

Updates #15365.

Change-Id: Ic2ca8d166aeca8517b9d262a55e92f2130683a16
Reviewed-on: https://go-review.googlesource.com/23953
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/ssa.go
test/live.go
test/live_ssa.go
test/nilptr3.go
test/nilptr3_ssa.go
test/sliceopt.go