Open kavon opened 7 years ago
Right now we emit:
LCAFE0: movq (%r13), %rax jmpq *%rax ## TAILCALL
for a CPS_RET. We can save an instruction if we add a special pattern as we do for CPSCALLm64 that looks for the load, so that we can emit a TCRETURNmi64 instead, and get:
CPS_RET
CPSCALLm64
TCRETURNmi64
LCAFE0: jmpq *(%r13) ## TAILCALL
Right now we emit:
for a
CPS_RET
. We can save an instruction if we add a special pattern as we do forCPSCALLm64
that looks for the load, so that we can emit aTCRETURNmi64
instead, and get: