r279163 - in /trunk/gcc: ChangeLog testsuite/Ch...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue Dec 10 12:20:00 GMT 2019


Author: rsandifo
Date: Tue Dec 10 12:20:07 2019
New Revision: 279163

URL: https://gcc.gnu.org/viewcvs?rev=279163&root=gcc&view=rev
Log:
Record the loop masks needed for EXTRACT_LAST_REDUCTIONs

The analysis phase of vectorizable_condition wasn't recording the
loop masks needed by the transform phase.  This meant that the masks
wouldn't be created in the (rare) case that no other statement needed
them.

2019-12-10  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* tree-vect-stmts.c (vectorizable_condition): Record the loop
	masks required for extract-last reductions.

gcc/testsuite/
	* gcc.target/aarch64/sve/clastb_9.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c



More information about the Gcc-cvs mailing list