Compiling the following program using the command llc func.ll --global-isel --march=delendum:
; func.ll
define void @f() {
ret void
}
produces assembly with a missing return instruction. A RET instruction is present in the gMIR (visible if running llc with the --stop-after=legalizer flag).
Compiling the following program using the command
llc func.ll --global-isel --march=delendum
:produces assembly with a missing return instruction. A
RET
instruction is present in the gMIR (visible if runningllc
with the--stop-after=legalizer
flag).