On Mon, May 27, 2024 at 10:36:18AM +0530, Tejas Belagod wrote: > The target clause in OpenMP is used to offload loop kernels to accelarator > peripeherals. target's 'map' clause is used to move data from and to the > accelarator. When the data is SVE type, it may not be suitable because of > various reasons i.e. the two SVE targets may not agree on vector size or > some targets don't support variable vector size. This makes SVE unsuitable > for use in OMP's 'map' clause. This patch diagnoses all such cases and issues > an error where SVE types are not suitable.
I've never heard of verify_type_context existence before, seems it is an Aarch64/RiscV only thing, so I'll defer here to Richard S. The question where to put the testcase remains. Jakub