]> gcc.gnu.org Git - gcc.git/commit
vect: Use inbranch simdclones in masked loops
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 19 Oct 2023 17:28:28 +0000 (18:28 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 19 Oct 2023 17:30:25 +0000 (18:30 +0100)
commitd8e4e7def3338344a761d841010e98d017c58b0a
treeac4c97aad17a4866eec2a58329f4d20629a134d2
parent8b704ed0b8f35ec1a57e70bd8e6913ba0e9d1f24
vect: Use inbranch simdclones in masked loops

This patch enables the compiler to use inbranch simdclones when generating
masked loops in autovectorization.

gcc/ChangeLog:

* omp-simd-clone.cc (simd_clone_adjust_argument_types): Make function
compatible with mask parameters in clone.
* tree-vect-stmts.cc (vect_build_all_ones_mask): Allow vector boolean
typed masks.
(vectorizable_simd_clone_call): Enable the use of masked clones in
fully masked loops.
gcc/omp-simd-clone.cc
gcc/tree-vect-stmts.cc
This page took 0.060626 seconds and 6 git commands to generate.