[PATCH] D49299: [MachineOutliner][X86] Use TAILJMPd64 instead of JMP_1 for TailCall construction

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 09:03:23 PDT 2018


craig.topper added a comment.

Though JMP_1 has a one byte offset and will get relaxed to JMP_4 by the assembler if the offset isn't in the range [128,-127].  TAILJMPd64 always encodes to the same encoding as JMP_4 and doesn't go through relaxation in the assembler.

I don't know enough about outlining. Are we usually/often getting a size savings from the JMP_1?


https://reviews.llvm.org/D49299





More information about the llvm-commits mailing list