Re: [PATCH v4] OpenMP: Generate SIMD clones for functions with "declare target"

2022-11-25 Thread Jakub Jelinek via Gcc-patches
On Mon, Nov 14, 2022 at 09:46:15PM -0700, Sandra Loosemore wrote: > --- a/gcc/omp-simd-clone.cc > +++ b/gcc/omp-simd-clone.cc > @@ -51,6 +51,210 @@ along with GCC; see the file COPYING3. If not see > #include "stringpool.h" > #include "attribs.h" > #include "omp-simd-clone.h" > +#include "omp-l

[PATCH v4] OpenMP: Generate SIMD clones for functions with "declare target"

2022-11-14 Thread Sandra Loosemore via Gcc-patches
Here is yet another attempt at a patch to auto-generate SIMD clones for functions that already have the "declare target" attribute. This version v4 is derived from the previous v2 version, since v3 seemed to be a dead end. I have added conditionals to restrict the auto-generation at -O2 to th