[llvm] r307730 - Fully fix the movw/movt addend.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 09:15:56 PDT 2017


Martin Storsjö <martin at martin.st> writes:

>> @ ASM:          movw    r0, :lower16:(GOT-(.LPC0_2+8))
>> @ ASM-NEXT:     movt    r0, :upper16:(GOT-(.LPC0_2+8))
>> @ ASM:          movw    r0, :lower16:(extern_symbol+1234)
>> -@ ASM-NEXT:     movt    r0, :upper16:(extern_symbol+1234)
>> +@ ASM:          movw    r0, :lower16:((foo-bar)+1234)
>> +@ ASM-NEXT:     movt    r0, :upper16:((foo-bar)+1234)
>
> I presume this removal of the existing movt check was unintentional?

Yes, thank you so much.

Fixed in r at 307801.

Cheers,
Rafael


More information about the llvm-commits mailing list