On Wed, 30 Aug 2023, Andre Vieira (lists) wrote: > > SVE simd clones require to be compiled with a SVE target enabled or the > argument types will not be created properly. To achieve this we need to copy > DECL_FUNCTION_SPECIFIC_TARGET from the original function declaration to the > clones. I decided it was probably also a good idea to copy > DECL_FUNCTION_SPECIFIC_OPTIMIZATION in case the original function is meant to > be compiled with specific optimization options.
OK. > gcc/ChangeLog: > > * tree-parloops.cc (create_loop_fn): Copy specific target and > optimization options to clone. > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg, Germany; GF: Ivo Totev, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)