samrushing/irken-compiler

Need to trim free regs in CPS.

samrushing opened this issue · 0 comments

CPS phase is too conservative with its lists of 'free' regs. Often regs are saved around calls, through jump and fail functions, even if they are never used. Need a use/def pass to trim these in continuations and in jump/fail insns.