poly_int: omp-simd-clone.c
commit8e33ba31499c0abadabbb250878c9867e597d95c
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 07:17:06 +0000 (3 07:17 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 07:17:06 +0000 (3 07:17 +0000)
tree560cf6f3f5cb3fa57e78ed70a07c13a60cdb9570
parent7576cbb7e0cd6271727f7d5b04cfd48d3f7530d7
poly_int: omp-simd-clone.c

This patch adds a wrapper around TYPE_VECTOR_SUBPARTS for omp-simd-clone.c.
Supporting SIMD clones for variable-length vectors is post GCC8 work.

2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* omp-simd-clone.c (simd_clone_subparts): New function.
(simd_clone_init_simd_arrays): Use it instead of TYPE_VECTOR_SUBPARTS.
(ipa_simd_modify_function_body): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256145 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-simd-clone.c