diff options
author | Joel Sing <joel@sing.id.au> | 2020-04-13 02:47:11 +1000 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2020-04-13 04:05:32 +0000 |
commit | c39439c53fe1344830446226201e9d96b3ee6a77 (patch) | |
tree | 1cd5a4ca3a1ed3f0c9112d82b41fd45a19bdf596 /src/cmd/compile/internal/logopt | |
parent | 2f84caebe3fff7f62de1f80bec6bfeed30012f49 (diff) | |
download | go-c39439c53fe1344830446226201e9d96b3ee6a77.tar.gz go-c39439c53fe1344830446226201e9d96b3ee6a77.zip |
cmd/compile: run TestLogOpt for riscv64 on amd64
Run TestLogOpt for riscv64 on amd64, as is done for other architectures.
This would have caught the test failure on riscv64 introduced in
47ade08141b23cfeafed92943e16012d5dc5eb8b.
Change-Id: If29dea2ef383b087154d046728f6d1c96811f5a3
Reviewed-on: https://go-review.googlesource.com/c/go/+/227806
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/compile/internal/logopt')
-rw-r--r-- | src/cmd/compile/internal/logopt/logopt_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/logopt/logopt_test.go b/src/cmd/compile/internal/logopt/logopt_test.go index 800ac61903..df3e70a614 100644 --- a/src/cmd/compile/internal/logopt/logopt_test.go +++ b/src/cmd/compile/internal/logopt/logopt_test.go @@ -127,7 +127,7 @@ func s15a8(x *[15]int64) [15]int64 { arches := []string{runtime.GOARCH} goos0 := runtime.GOOS if runtime.GOARCH == "amd64" { // Test many things with "linux" (wasm will get "js") - arches = []string{"arm", "arm64", "386", "amd64", "mips", "mips64", "ppc64le", "s390x", "wasm"} + arches = []string{"arm", "arm64", "386", "amd64", "mips", "mips64", "ppc64le", "riscv64", "s390x", "wasm"} goos0 = "linux" } |