omp: Fix simdclone arguments with veclen lower than simdlen [PR113040]
commit135bb9e37167ef70501a888bd3db195b11b37ae3
authorAndre Vieira (lists) <andre.simoesdiasvieira@arm.com>
Wed, 20 Dec 2023 15:17:09 +0000 (20 15:17 +0000)
committerH.J. Lu <(no_default)>
Thu, 21 Dec 2023 18:36:29 +0000 (21 10:36 -0800)
treedb196dc578291bf6adf560a2c9f72e4efee8b2ce
parent2766b83759a02572b7b303aae3d4b54a351f8f96
omp: Fix simdclone arguments with veclen lower than simdlen [PR113040]

This patch fixes an issue introduced by:
commit ea4a3d08f11a59319df7b750a955ac613a3f438a
Author: Andre Vieira <andre.simoesdiasvieira@arm.com>
Date:   Wed Nov 1 17:02:41 2023 +0000

     omp: Reorder call for TARGET_SIMD_CLONE_ADJUST

The problem was that after this patch we no longer added multiple
arguments for vector arguments where the veclen was lower than the simdlen.

Bootstrapped and regression tested on x86_64-pc-linux-gnu and
aarch64-unknown-linux-gnu.

gcc/ChangeLog:

PR middle-end/113040
* omp-simd-clone.cc (simd_clone_adjust_argument_types): Add multiple
vector arguments where simdlen is larger than veclen.
gcc/omp-simd-clone.cc