Files
wasmtime/cranelift/filetests/regalloc/global-fixed.cton
Jakob Stoklund Olesen 91b1566aca Use "test regalloc" for the register allocator tests.
These tests were only using "test compile" because it doesn't require
any filecheck directives to be present, so just stop requiring filecheck
directives for "test regalloc" and other filecheck-based test drivers.
2017-10-25 18:31:14 -07:00

18 lines
206 B
Plaintext

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