From 14a6bf0e90c0e22dcbf6dcf367604ac1ec627121 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Tue, 31 Mar 2026 12:20:58 -0700 Subject: 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 Reviewed-by: Junyang Shao LUCI-TryBot-Result: Go LUCI Reviewed-by: Keith Randall --- test/codegen/condmove.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/codegen') 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 } -- cgit v1.3