fix issue 5525. (#5603)

* fix issue 5525.

* reg alloc changed.
This commit is contained in:
yuyang
2023-01-21 01:53:54 +08:00
committed by GitHub
parent 92de180d7d
commit 299b8187f8
3 changed files with 19 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
test interpret
test run
target riscv64
function %a(i16) -> i128 system_v {
block0(v0: i16):
v1 = rotl v0, v0
v2 = sextend.i128 v1
return v2
}
; run: %a(-32718) == 202