From d6492e284b61c8be4bfce5ee0ca907f4df5deb72 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Fri, 27 Mar 2026 16:20:06 -0700 Subject: test/codegen: get rid of \s Replace \s with a space in backtick-quoted strings Replace \\s with a space in double-quoted strings Change-Id: I0c8b249bb12c2c8ca69e683e4bc6f27544fd6094 Reviewed-on: https://go-review.googlesource.com/c/go/+/760680 Auto-Submit: Keith Randall Reviewed-by: Junyang Shao Reviewed-by: Paul Murphy Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI --- test/codegen/writebarrier.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/codegen/writebarrier.go') diff --git a/test/codegen/writebarrier.go b/test/codegen/writebarrier.go index 271d8d25d3..bb156bb123 100644 --- a/test/codegen/writebarrier.go +++ b/test/codegen/writebarrier.go @@ -90,14 +90,14 @@ func issue71228(dst *S, ptr *int) { } func writeDouble(p *[2]*int, x, y *int) { - // arm64: `LDP\s`, `STP\s\(R[0-9]+, R[0-9]+\), \(` + // arm64: `LDP `, `STP \(R[0-9]+, R[0-9]+\), \(` p[0] = x - // arm64: `STP\s\(R[0-9]+, R[0-9]+\), 16\(` + // arm64: `STP \(R[0-9]+, R[0-9]+\), 16\(` p[1] = y } func writeDoubleNil(p *[2]*int) { - // arm64: `LDP\s`, `STP\s\(R[0-9]+, R[0-9]+\),`, `STP\s\(ZR, ZR\),` + // arm64: `LDP `, `STP \(R[0-9]+, R[0-9]+\),`, `STP \(ZR, ZR\),` p[0] = nil p[1] = nil } -- cgit v1.3