Re: [PATCH] x86: Add a pass to remove redundant all 0s/1s vector load

2024-12-01 Thread H.J. Lu
On Mon, Dec 2, 2024, 11:16 AM Hongtao Liu wrote: > On Sun, Dec 1, 2024 at 7:50 AM H.J. Lu wrote: > > > > For all different modes of all 0s/1s vectors, we can use the single > widest > > all 0s/1s vector register for all 0s/1s vector uses in the whole > function. > > Add a pass to generate a sing

Re: [PATCH] x86: Add a pass to remove redundant all 0s/1s vector load

2024-12-01 Thread Hongtao Liu
On Sun, Dec 1, 2024 at 7:50 AM H.J. Lu wrote: > > For all different modes of all 0s/1s vectors, we can use the single widest > all 0s/1s vector register for all 0s/1s vector uses in the whole function. > Add a pass to generate a single widest all 0s/1s vector set instruction at > entry of the near