]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/116610 - wrong SLP induction bias for mask peeling
authorRichard Biener <rguenther@suse.de>
Thu, 5 Sep 2024 09:18:57 +0000 (11:18 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 6 Sep 2024 07:16:03 +0000 (09:16 +0200)
commit6a1a856ba78589f7f5285b00ecd40ba2bbeef8b0
treed3d7f545799915ddec03f82640a0de1f5eb9b167
parent116bfbc806a7aa3f1ae2a3b3eb38d6bb65e0d0a7
tree-optimization/116610 - wrong SLP induction bias for mask peeling

The following fixes a mistake when applying the bias for peeling via
masking to the inital value of SLP inductions.

This resolves gcc.target/aarch64/sve/peel_ind_1.c (a scan-assembler
only unfortunately) when forcing single-lane SLP for it.

PR tree-optimization/116610
* tree-vect-loop.cc (vectorizable_induction): Use MINUS_EXPR
to apply a mask peeling adjustment.
gcc/tree-vect-loop.cc
This page took 0.059368 seconds and 5 git commands to generate.