[PATCH] Add single-lane SLP support to .GOMP_SIMD_LANE vectorization

2024-10-04 Thread Richard Biener
The following adds basic support for single-lane SLP .GOMP_SIMD_LANE vectorization, in particular it enables SLP discovery. * tree-vect-slp.cc (no_arg_map): New. (vect_get_operand_map): Handle IFN_GOMP_SIMD_LANE. (vect_build_slp_tree_1): Likewise. * tree-vect-stmts.

[PATCH] Add single-lane SLP support to .GOMP_SIMD_LANE vectorization

2024-07-01 Thread Richard Biener
The following adds support for single-lane SLP .GOMP_SIMD_LANE vectorization. This doesn't handle much, esp. g++.dg/vect/simd-*.cc with their 'inscan' uses are unhandled. * tree-vect-slp.cc (no_arg_map): New. (vect_get_operand_map): Handle IFN_GOMP_SIMD_LANE. (vect_build_s