[llvm-dev] x86: How to Force 2-byte `jmp` instruction in lowering

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 29 10:19:15 PDT 2016


On Wed, Jun 29, 2016 at 10:05 AM, Craig Topper <craig.topper at gmail.com>
wrote:

> I thought jumps start short and relaxation widens them as needed until
> fixpoint. So relax-all causes them all to be widened unconditionally.
>

My mistake, you're right.

I've been reading that code for years and assuming that it goes
large-to-small, but I guess the process is the same regardless of which
direction you go. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160629/a01b486e/attachment.html>


More information about the llvm-dev mailing list