]> git.ipfire.org Git - thirdparty/gcc.git/commit
Avoid incomplete SLP handling for OMP SIMD calls with linear/invariant clause
authorRichard Biener <rguenther@suse.de>
Mon, 24 Nov 2025 14:10:22 +0000 (15:10 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 24 Nov 2025 18:18:55 +0000 (19:18 +0100)
commite6c6af682931733b44cff286191ce1798bdfd39e
treebcd75d06eaf023419a7a5545d0f27bb3a3c053ac
parent7ca42b7a4026fcc9635d2c2c8f6ab2b9ce92ccbd
Avoid incomplete SLP handling for OMP SIMD calls with linear/invariant clause

The following restricts these cases to single-lange SLP as they look
at only the representative scalar argument.

PR tree-optimization/122826
* tree-vect-stmts.cc (vectorizable_simd_clone_call): Only
use single-lane SLP for SIMD_CLONE_ARG_TYPE_UNIFORM
and SIMD_CLONE_ARG_TYPE_LINEAR_[REF_]CONSTANT_STEP.
gcc/tree-vect-stmts.cc