aboutsummaryrefslogtreecommitdiff
path: root/test/sliceopt.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2016-06-07 14:18:04 -0400
committerCherry Zhang <cherryyz@google.com>2016-07-06 15:05:50 +0000
commit42181ad852700b790906b4c7ab24c4c23dd874e2 (patch)
tree6a4e298073fad885b88633101b969e080a875798 /test/sliceopt.go
parent41a7dca2722b7defafb05b0919fb8dde38819efb (diff)
downloadgo-42181ad852700b790906b4c7ab24c4c23dd874e2.tar.gz
go-42181ad852700b790906b4c7ab24c4c23dd874e2.zip
[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>
Diffstat (limited to 'test/sliceopt.go')
-rw-r--r--test/sliceopt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sliceopt.go b/test/sliceopt.go
index a830ab7cf6..e60516571b 100644
--- a/test/sliceopt.go
+++ b/test/sliceopt.go
@@ -1,4 +1,4 @@
-// +build !amd64
+// +build !amd64,!arm nacl,arm
// errorcheck -0 -d=append,slice
// Copyright 2015 The Go Authors. All rights reserved.