[Bug tree-optimization/101637] #pragma omp for simd defeats VECT_COMPARE_COSTS optimisations

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 27 11:05:26 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101637

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Depends on whether simdlen clause is specified or not.  If it is, we should go
if possible with what user asked for (the chosen vectorization factor). 
Otherwise sure, pick the vectorization with smallest cost, but still prefer to
vectorize over not vectorizing, because user asked for vectorization.


More information about the Gcc-bugs mailing list