Files
wasmtime/cranelift/filetests/filetests/isa/aarch64/iconst-icmp-small.clif
Trevor Elliott b077854b57 Generate SSA code from returns (#5172)
Modify return pseudo-instructions to have pairs of registers: virtual and real. This allows us to constrain the virtual registers to the real ones specified by the abi, instead of directly emitting moves to those real registers.
2022-11-08 16:00:49 -08:00

24 lines
448 B
Plaintext

; Test that `put_input_in_rse` doesn't try to put the input of the `iconst` into a register, which
; would result in an out-of-bounds panic. (#2147)
test compile precise-output
set unwind_info=false
target aarch64
function u0:0() -> i8 system_v {
block0:
v0 = iconst.i16 0xddcc
v1 = icmp.i16 ne v0, v0
return v1
}
; block0:
; movz x0, #56780
; uxth w2, w0
; movz x4, #56780
; subs wzr, w2, w4, UXTH
; cset x0, ne
; ret