Split out gather load mask building
authorRichard Sandiford <richard.sandiford@linaro.org>
Wed, 3 Jan 2018 21:47:19 +0000 (21:47 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 3 Jan 2018 21:47:19 +0000 (21:47 +0000)
commitbc9587eb19f6407f5815d46d68325890e29f076a
treedd930059b01533978ba691e01387b8dccee4e47f
parent3133c3b628da0e39a3ae9cdbd4973de04b214589
Split out gather load mask building

This patch splits out the code to build an all-bits-one or all-bits-zero
input to a gather load.  The catch is that both masks can have
floating-point type, in which case they are implicitly treated in
the same way as an integer bitmask.

2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* tree-vect-stmts.c (vect_build_all_ones_mask)
(vect_build_zero_merge_argument): New functions, split out from...
(vectorizable_load): ...here.

From-SVN: r256214
gcc/ChangeLog
gcc/tree-vect-stmts.c