aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-12-10 12:20:07 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-12-10 12:20:07 +0000
commitf1c13d6ddeecc9da5f53643b6b6b715546d670fe (patch)
tree692bc76eee86aeddb222ae16fbb0b8239944aea3 /gcc/tree-vect-loop.c
parent9ec35478ccf0f3539988a054b7996278706a7710 (diff)
downloadgcc-f1c13d6ddeecc9da5f53643b6b6b715546d670fe.zip
gcc-f1c13d6ddeecc9da5f53643b6b6b715546d670fe.tar.gz
gcc-f1c13d6ddeecc9da5f53643b6b6b715546d670fe.tar.bz2
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. From-SVN: r279163
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions