On Sat, May 21, 2022 at 5:02 AM H.J. Lu via Gcc-patches
wrote:
>
> When recording store for RTL dead store elimination, check if the source
> register is set only once to a constant. If yes, record the constant
> as the store source. It eliminates unrolled zero stores after memset 0
> in a loop
When recording store for RTL dead store elimination, check if the source
register is set only once to a constant. If yes, record the constant
as the store source. It eliminates unrolled zero stores after memset 0
in a loop where a vector register is used as the zero store source.
gcc/
P