Split out gather load mask building
commit9f54c7a765a6508f32fd690f29ae257ac9b9015a
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 21:47:19 +0000 (3 21:47 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 21:47:19 +0000 (3 21:47 +0000)
treedd930059b01533978ba691e01387b8dccee4e47f
parentf4ca8ae83375a3472281dba061a800fbfe412f5f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256214 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-stmts.c