riscv64 now has atomic intrinsics, so re-enable the atomic intrinsic tests.
Fixes #36765
Change-Id: I838f27570a94d7fa5774c43f1ca5f4df2ca104cf
Reviewed-on: https://go-review.googlesource.com/c/go/+/223560
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
-// +build !nacl,!386,!wasm,!arm,!riscv64,!gcflags_noopt
+// +build !nacl,!386,!wasm,!arm,!gcflags_noopt
// errorcheck -0 -m
// Copyright 2019 The Go Authors. All rights reserved.
// of the sync fast paths. This test should be re-enabled once the problem
// is solved.
-// TODO(jsing): Re-enable on riscv64 when it has atomic intrinsics - see
-// golang.org/issue/36765
-
package foo
import (
// errorcheck -0 -d=ssa/intrinsics/debug
-// +build amd64 arm64 mips mipsle mips64 mips64le ppc64 ppc64le s390x
+// +build amd64 arm64 mips mipsle mips64 mips64le ppc64 ppc64le riscv64 s390x
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style