re PR target/88838 ([SVE] Use 32-bit WHILELO in LP64 mode)
authorKugan Vivekanandarajah <kuganv@linaro.org>
Thu, 13 Jun 2019 03:34:28 +0000 (03:34 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Thu, 13 Jun 2019 03:34:28 +0000 (03:34 +0000)
commit9b884225bfc609606f9b169b021c4da93feba48e
tree28c9e494f42ea0d6f529cb8033d031f8f2b46f04
parentfa9863e7d34ecd011ae75083be2ae124e5831b64
re PR target/88838 ([SVE] Use 32-bit WHILELO in LP64 mode)

gcc/ChangeLog:

2019-06-13  Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>

PR target/88838
* tree-vect-loop-manip.c (vect_set_loop_masks_directly): If the
compare_type is not with Pmode size, we will create an IV with
Pmode size with truncated use (i.e. converted to the correct type).
* tree-vect-loop.c (vect_verify_full_masking): Find IV type.
(vect_iv_limit_for_full_masking): New. Factored out of
vect_set_loop_condition_masked.
* tree-vectorizer.h (LOOP_VINFO_MASK_IV_TYPE): New.
(vect_iv_limit_for_full_masking): Declare.

gcc/testsuite/ChangeLog:

2019-06-13  Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>

PR target/88838
* gcc.target/aarch64/pr88838.c: New test.
* gcc.target/aarch64/sve/while_1.c: Adjust.

From-SVN: r272233
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr88838.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/while_1.c
gcc/tree-vect-loop-manip.c
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h