[AArch64][1/2] Mark GOT related MEM rtx as const to help RTL loop IV

Marcus Shawcroft marcus.shawcroft@gmail.com
Fri Jul 10 12:10:00 GMT 2015


On 7 July 2015 at 13:33, Jiong Wang <jiong.wang@arm.com> wrote:

> 2015-07-06  Jiong Wang  <jiong.wang@arm.com>
>
> gcc/
>   * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Mark mem as
>   READONLY and NOTRAP for PIC symbol.
>
> gcc/testsuite/
>   * gcc.target/aarch64/got_mem_hoist.c: New test.

Looks, OK to me.  Follow the guidance on the wiki here
https://gcc.gnu.org/wiki/TestCaseWriting when naming new test cases
and add _1 suffix.  Otherwise OK.
/Marcus



More information about the Gcc-patches mailing list