]> git.ipfire.org Git - thirdparty/gcc.git/commit
openmp-simd-clone: Match shift types
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 19 Jul 2022 10:16:09 +0000 (11:16 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Mon, 1 Aug 2022 16:08:27 +0000 (17:08 +0100)
commitb64e937ccde286278743e8fdffea494faa46c214
treebdd623886329834497e6e08dba2fbc3c79f2cc96
parent388fbbd895e72669909173c3003ae65c6483a3c2
openmp-simd-clone: Match shift types

Ensure that both parameters to vector shifts use the same mode.  This is most
important for amdgcn where the masks are DImode.

gcc/ChangeLog:

* omp-simd-clone.cc (simd_clone_adjust): Convert shift_cnt to match
the mask type.

Co-authored-by: Jakub Jelinek <jakub@redhat.com>
gcc/omp-simd-clone.cc