[PATCH] D20793: [ELF] - Implemented support for test/binop relaxations from latest ABI.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 06:38:26 PDT 2016


>От: Rafael Espíndola <rafael.espindola at gmail.com>
>Отправлено: 31 мая 2016 г. 16:25
>Кому: George Rimar
>Копия: Rui Ueyama; llvm-commits; reviews+D20793+public+de03617519a1da0d at reviews.llvm.org
>Тема: Re: [PATCH] D20793: [ELF] - Implemented support for test/binop relaxations from latest ABI.
>
>> I do not have non-assembly use case. For this patch I used
>> binutils testcase as reference (ld\testsuite\ld-x86-64\load1.s) and assumed
>> it tests something from real life needs.
>>
>> If that is not true, we probably can do not perform relaxations for these and so far do not
>> generate the special relaxations types by mc.
>
>I think that is the case. At least I cannot imagine which code
>sequence would read only part of a got entry.
>
>So, for example, we want to handle
>
>addq foo at gotpcrel(%rip), %rax
>
>but don't need to handle
>
>addl foo at gotpcrel(%rip), %eax

That might help to simplify my latest patch about relaxations,
I`ll update it in a while.

>Cheers,
>Rafael


More information about the llvm-commits mailing list