diff options
author | Tom de Vries <tdevries@suse.de> | 2020-08-04 09:53:08 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-08-04 11:59:08 +0200 |
commit | 344f09a756ebd50510cc1eb3db111fd61c527702 (patch) | |
tree | a58e2ebb455ec00a2ddf6f706d6493a7dd077eb6 /gcc/fortran/trans-openmp.c | |
parent | 95f5a3258dd8a9584f2b10304f79441ef2d4c64c (diff) | |
download | gcc-344f09a756ebd50510cc1eb3db111fd61c527702.zip gcc-344f09a756ebd50510cc1eb3db111fd61c527702.tar.gz gcc-344f09a756ebd50510cc1eb3db111fd61c527702.tar.bz2 |
[nvptx] Handle V2DI/V2SI mode in nvptx_gen_shuffle
With the pr96628-part1.f90 source and -ftree-slp-vectorize, we run into an
ICE due to the fact that V2DI mode is not handled in nvptx_gen_shuffle.
Fix this by adding handling of V2DI as well as V2SI mode in
nvptx_gen_shuffle.
Build and reg-tested on x86_64 with nvptx accelerator.
gcc/ChangeLog:
PR target/96428
* config/nvptx/nvptx.c (nvptx_gen_shuffle): Handle V2SI/V2DI.
libgomp/ChangeLog:
PR target/96428
* testsuite/libgomp.oacc-fortran/pr96628-part1.f90: New test.
* testsuite/libgomp.oacc-fortran/pr96628-part2.f90: New test.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions