This patch: * removes the "default" opt level, on the basis that it has no definition and is referred to nowhere in the compiler. * renames the "fastest" level to "none". The resulting set of transformations is unchanged. * renames the "best" level to "speed_and_size". The resulting set of transformations is unchanged. * adds a new level, "speed". This is the same as "speed_and_size" except that it omits transformations aimed only at reducing code size. Currently it omits only the insn shrinking pass.
15 lines
274 B
Plaintext
15 lines
274 B
Plaintext
; Test legalization of a non-colocated call in 64-bit non-PIC mode.
|
|
test legalizer
|
|
set opt_level=speed_and_size
|
|
target x86_64 haswell
|
|
|
|
function %call() {
|
|
fn0 = %foo()
|
|
ebb0:
|
|
call fn0()
|
|
return
|
|
}
|
|
|
|
; check: v0 = func_addr.i64 fn0
|
|
; nextln: call_indirect sig0, v0()
|