Files
wasmtime/cranelift/filetests/filetests/isa/s390x/leaf.clif
Trevor Elliott f04decc4a1 Use capstone to validate precise-output tests (#5780)
Use the capstone library to disassemble precise-output tests, in addition to pretty-printing their vcode.
2023-02-15 16:35:10 -08:00

21 lines
321 B
Plaintext

;; Test compilation of leaf functions without preserving frame pointers.
test compile precise-output
set unwind_info=false
set preserve_frame_pointers=false
target s390x
function %leaf(i64) -> i64 {
block0(v0: i64):
return v0
}
; VCode:
; block0:
; br %r14
;
; Disassembled:
; block0: ; offset 0x0
; br %r14