[PATCH] D51502: [X86] Fix register resizings for inline assembly register operands.

Nirav Davé via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 13:27:04 PDT 2018


Yes, this is a fix to match GCC's register assignment for a 64-bit in
32-bit mode to pairs of registers.

I haven't looked too deeply into the details, but register allocation order
is sensitive to the register classes (I think by way of register pressure)
which is why the additional register classes are able to change our
selection bias between 32-bit registers and 8-bits.


On Mon, Sep 17, 2018 at 2:43 PM, Matthias Braun via Phabricator <
reviews at reviews.llvm.org> wrote:

> MatzeB added a comment.
>
> Isn't this fix about inline assembly? Why do we see all the
> scheduling/regalloc changes here?
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D51502
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180917/8c83e687/attachment.html>


More information about the llvm-commits mailing list