diff options
| author | Keith Randall <khr@golang.org> | 2026-03-31 12:20:58 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-31 12:43:09 -0700 |
| commit | 14a6bf0e90c0e22dcbf6dcf367604ac1ec627121 (patch) | |
| tree | 57ab57863acd3c17894e448f0c6758b97e439d64 | |
| parent | 974764364aa09a34cad2d74a6b7c52c12a136ea3 (diff) | |
| download | go-14a6bf0e90c0e22dcbf6dcf367604ac1ec627121.tar.xz | |
test/codegen: remove unneeded commas
After CL 760780, commas aren't allowed.
But some CLs that were already in flight don't know that.
Change-Id: I31f586c87def4a9746dc2c055923fce8bad6647e
Reviewed-on: https://go-review.googlesource.com/c/go/+/761620
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
| -rw-r--r-- | test/codegen/condmove.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/codegen/condmove.go b/test/codegen/condmove.go index 61f47b4d8f..6d1bba4c70 100644 --- a/test/codegen/condmove.go +++ b/test/codegen/condmove.go @@ -514,10 +514,10 @@ func cmovmathor(a uint, b bool) uint { if b { a |= 1 } - // amd64:"ORQ", -"CMOV" - // arm64:"ORR", -"CSEL" - // ppc64x:"OR", -"ISEL" - // wasm:"I64Or", -"Select" + // amd64:"ORQ" -"CMOV" + // arm64:"ORR" -"CSEL" + // ppc64x:"OR" -"ISEL" + // wasm:"I64Or" -"Select" return a } @@ -525,10 +525,10 @@ func cmovmathxor(a uint, b bool) uint { if b { a ^= 1 } - // amd64:"XORQ", -"CMOV" - // arm64:"EOR", -"CSEL" - // ppc64x:"XOR", -"ISEL" - // wasm:"I64Xor", -"Select" + // amd64:"XORQ" -"CMOV" + // arm64:"EOR" -"CSEL" + // ppc64x:"XOR" -"ISEL" + // wasm:"I64Xor" -"Select" return a } |
