Re: [PATCH] [i386] Reject too large vectors for partial vector vectorization

2023-06-20 Thread Hongtao Liu via Gcc-patches
On Mon, Jun 19, 2023 at 8:35 PM Richard Biener via Gcc-patches wrote: > > The following works around the lack of the x86 backend making the > vectorizer compare the costs of the different possible vector > sizes the backed advertises through the vector_modes hook. When > enabling masked

[PATCH] [i386] Reject too large vectors for partial vector vectorization

2023-06-19 Thread Richard Biener via Gcc-patches
The following works around the lack of the x86 backend making the vectorizer compare the costs of the different possible vector sizes the backed advertises through the vector_modes hook. When enabling masked epilogues or main loops then this means we will select the prefered vector mode which is