From ea435a31f966c02a43eff865beab5b9aeb0716fd Mon Sep 17 00:00:00 2001 From: limeidan Date: Tue, 12 Mar 2024 19:55:39 +0800 Subject: [PATCH] cmd/compile/internal/ssa: enable testcases TestDebugLinesPushback and TestDebugLinesConvert on loong64 Change-Id: Id5c12c9edf278f2419900ebbfb0b7f388bafc9b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/604177 Reviewed-by: Carlos Amedee Reviewed-by: Keith Randall Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI Auto-Submit: Keith Randall --- src/cmd/compile/internal/ssa/debug_lines_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/compile/internal/ssa/debug_lines_test.go b/src/cmd/compile/internal/ssa/debug_lines_test.go index 043439302e..a4c25d6d06 100644 --- a/src/cmd/compile/internal/ssa/debug_lines_test.go +++ b/src/cmd/compile/internal/ssa/debug_lines_test.go @@ -81,7 +81,7 @@ func TestDebugLinesPushback(t *testing.T) { default: t.Skip("skipped for many architectures") - case "arm64", "amd64": // register ABI + case "arm64", "amd64", "loong64": // register ABI fn := "(*List[go.shape.int]).PushBack" testDebugLines(t, "-N -l", "pushback.go", fn, []int{17, 18, 19, 20, 21, 22, 24}, true) } @@ -94,7 +94,7 @@ func TestDebugLinesConvert(t *testing.T) { default: t.Skip("skipped for many architectures") - case "arm64", "amd64": // register ABI + case "arm64", "amd64", "loong64": // register ABI fn := "G[go.shape.int]" testDebugLines(t, "-N -l", "convertline.go", fn, []int{9, 10, 11}, true) } -- 2.48.1