Skip to content

Commit 2a799b2

Browse files
committed
ssa: update ctx register tests for riscv32
1 parent a691fec commit 2a799b2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ssa/ssa_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ func TestCtxRegisterDefinitions(t *testing.T) {
404404
{"linux", "arm", "", ""},
405405
{"linux", "386", "mm0", "{mm0}"},
406406
{"linux", "riscv64", "x27", "{x27}"},
407+
{"linux", "riscv32", "x27", "{x27}"},
407408
{"js", "wasm", "", ""},
408409
}
409410
for _, tt := range tests {
@@ -419,7 +420,7 @@ func TestCtxRegisterDefinitions(t *testing.T) {
419420
}
420421

421422
func TestCtxRegisterFallback(t *testing.T) {
422-
tests := []string{"wasm", "riscv32"}
423+
tests := []string{"wasm"}
423424
for _, goarch := range tests {
424425
reg := (&Target{GOARCH: goarch}).CtxRegister()
425426
if reg.Name != "" || reg.Constraint != "" {

0 commit comments

Comments
 (0)