re PR middle-end/91272 ([SVE] Use fully-masked loops for CLASTB reductions)
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 28 Oct 2019 14:50:58 +0000 (14:50 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Mon, 28 Oct 2019 14:50:58 +0000 (14:50 +0000)
commitfa03d5763a91f5061152842c92fbb4e446a3b75f
treea071b74bb46ec94d04349367e92578cfca551cb4
parent96d9d1620f28517de0464ab636662d9a35a92993
re PR middle-end/91272 ([SVE] Use fully-masked loops for CLASTB reductions)

2019-10-28  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

PR middle-end/91272
* tree-vect-stmts.c (vectorizable_condition): Support
EXTRACT_LAST_REDUCTION with fully-masked loops.

testsuite/
* gcc.target/aarch64/sve/clastb_1.c: Add dg-scan.
* gcc.target/aarch64/sve/clastb_2.c: Likewise.
* gcc.target/aarch64/sve/clastb_3.c: Likewise.
* gcc.target/aarch64/sve/clastb_4.c: Likewise.
* gcc.target/aarch64/sve/clastb_5.c: Likewise.
* gcc.target/aarch64/sve/clastb_6.c: Likewise.
* gcc.target/aarch64/sve/clastb_7.c: Likewise.
* gcc.target/aarch64/sve/clastb_8.c: Likewise.

From-SVN: r277524
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/clastb_1.c
gcc/testsuite/gcc.target/aarch64/sve/clastb_2.c
gcc/testsuite/gcc.target/aarch64/sve/clastb_3.c
gcc/testsuite/gcc.target/aarch64/sve/clastb_4.c
gcc/testsuite/gcc.target/aarch64/sve/clastb_5.c
gcc/testsuite/gcc.target/aarch64/sve/clastb_6.c
gcc/testsuite/gcc.target/aarch64/sve/clastb_7.c
gcc/testsuite/gcc.target/aarch64/sve/clastb_8.c
gcc/tree-vect-stmts.c