Files
wasmtime/cranelift/filetests/regalloc/global-fixed.cton
Dan Gohman 9e4ab7dc86 Rename CallConv::Native to CallConv::SystemV. (#291)
To keep cross-compiling straightforward, Cretonne shouldn't have any
behavior that depends on the host. This renames the "Native" calling
convention to "SystemV", which has a defined meaning for each target,
so that it's clear that the calling convention doesn't change
depending on what host Cretonne is running on.
2018-03-30 12:32:14 -07:00

18 lines
208 B
Plaintext

test regalloc
set is_64bit=1
isa intel haswell
function %foo() system_v {
ebb4:
v3 = iconst.i32 0
jump ebb3
ebb3:
v9 = udiv v3, v3
jump ebb1
ebb1:
v19 = iadd.i32 v9, v9
jump ebb3
}