Hi, all,

In the nds32_legitimate_address_p function, we should look into LO_SUM's
operand so that we can precisely identify if it is a valid address.
This can help to avoid extra move instruction and improve code generation.


gcc/ChangeLog

2014-11-21  Chung-Ju Wu  <jasonw...@gmail.com>

        * config/nds32/nds32.c (nds32_legitimate_address_p): For LO_SUM,
        we need to look into its operand to determine whether it is a valid
        address.


Committed as Rev. 217904: https://gcc.gnu.org/r217904


Best regards,
jasonwucj

Attachment: 0004-For-LO_SUM-rtx-we-need-to-look-into-its-operand-to-d.patch
Description: Binary data

Reply via email to