On Tue, Aug 26, 2025 at 12:46:51PM -0600, Sandra Loosemore wrote:
> > There is also no means to obtain
> > targetm.simd_clone.compute_vecsize_and_simdlen
> > on the non-offload compiler for the offload compiler (but see below).
>
> Right, this is what I was getting at. It doesn't make sense for the front
> ends to conditionally emit a "sorry" depending on properties of the (OpenMP)
> host rather than properties of the (OpenMP) target, and I didn't think there
> was any way to get the latter from the (OpenMP) host compiler where the
> front ends run.
It of course makes a lot of sense. declare simd is used mostly on the host
in the wild, outside of target regions.
Jakub