* Legalize several i8 insts
* X86: implement regmove.{i8,i16}
* Legalize bnot
* Remove comments
* Nicer type param binding in legalize.py
* Legalize sdiv_imm.i8
* Hopefully fix mypy error
* Add missing trailing newlines
* Fix tests
16 lines
237 B
Plaintext
16 lines
237 B
Plaintext
test compile
|
|
|
|
target x86_64
|
|
|
|
function u0:0(i64, i8) system_v {
|
|
ss0 = explicit_slot 1
|
|
|
|
ebb0(v0: i64, v1: i8):
|
|
v3 = stack_addr.i64 ss0
|
|
v5 = load.i8 v3
|
|
v6 = iconst.i8 2
|
|
v7 = imul_imm v5, 42
|
|
store v7, v0
|
|
return
|
|
}
|