Re: [Documentation] Correct RTL documentation: (use (mem ...)) is allowed.

2022-09-28 Thread Uros Bizjak via Gcc-patches
> > This patch is a one line correction/clarification to GCC's current > > RTL documentation that explains a USE of a MEM is permissible. > > > > PR rtl-optimization/99930 is an interesting example on x86_64 where > > the backend generates better code when a USE is a (const) MEM than > > when it is

Re: [Documentation] Correct RTL documentation: (use (mem ...)) is allowed.

2022-09-27 Thread Jeff Law via Gcc-patches
On 7/23/22 03:26, Roger Sayle wrote: This patch is a one line correction/clarification to GCC's current RTL documentation that explains a USE of a MEM is permissible. PR rtl-optimization/99930 is an interesting example on x86_64 where the backend generates better code when a USE is a (const) M

[Documentation] Correct RTL documentation: (use (mem ...)) is allowed.

2022-07-23 Thread Roger Sayle
This patch is a one line correction/clarification to GCC's current RTL documentation that explains a USE of a MEM is permissible. PR rtl-optimization/99930 is an interesting example on x86_64 where the backend generates better code when a USE is a (const) MEM than when it is a REG. In fact the ba