Files
wasmtime/cranelift/filetests/regalloc/constraints.cton
Jakob Stoklund Olesen 0d2d1ea8cf Add support for tied operands.
Include a very basic test using an Intel 'sub' instruction. More to
follow.
2017-06-30 13:36:41 -07:00

16 lines
245 B
Plaintext

test regalloc
isa intel
; regex: V=v\d+
; Tied operands, both are killed at instruction.
function %tied_easy() -> i32 {
ebb0:
v0 = iconst.i32 12
v1 = iconst.i32 13
; not: copy
; check: isub
v2 = isub v0, v1
return v2
}