diff options
author | Cherry Zhang <cherryyz@google.com> | 2016-08-25 15:52:45 -0400 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2016-08-26 19:45:06 +0000 |
commit | 7f27f1dfdd81c978d4868917d7622e09b288ecb0 (patch) | |
tree | c7eb20bafa02a4d9eb659de1a42c3d46989b076e /test/sliceopt.go | |
parent | 9f7ea616742f8d58ecc140afcb0fa53bcb84fe9b (diff) | |
download | go-7f27f1dfdd81c978d4868917d7622e09b288ecb0.tar.gz go-7f27f1dfdd81c978d4868917d7622e09b288ecb0.zip |
cmd/compile: add MIPS64 optimizations, SSA on by default
Add the following optimizations:
- fold constants
- fold address into load/store
- simplify extensions and conditional branches
- remove nil checks
Turn on SSA on MIPS64 by default, and toggle the tests.
Fixes #16359.
Change-Id: I7f1e38c2509e22e42cd024e712990ebbe47176bd
Reviewed-on: https://go-review.googlesource.com/27870
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/sliceopt.go')
-rw-r--r-- | test/sliceopt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sliceopt.go b/test/sliceopt.go index 33b4818f18..4c38541b03 100644 --- a/test/sliceopt.go +++ b/test/sliceopt.go @@ -1,4 +1,4 @@ -// +build !amd64,!arm,!amd64p32,!386,!arm64,!ppc64le +// +build !amd64,!arm,!amd64p32,!386,!arm64,!ppc64le,!mips64,!mips64le // errorcheck -0 -d=append,slice // Copyright 2015 The Go Authors. All rights reserved. |