diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-12 09:51:54 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-08-12 11:05:35 +0200 |
commit | c5dab6fb402c93a92f6aa808c43956dfb9328190 (patch) | |
tree | 36dc2336342f2fd316b76ea45bac37514c62ff22 /gcc/rust/rust-attribs.cc | |
parent | a440b382e43203857de9195eb526c4a16f21ceb1 (diff) | |
download | gcc-c5dab6fb402c93a92f6aa808c43956dfb9328190.zip gcc-c5dab6fb402c93a92f6aa808c43956dfb9328190.tar.gz gcc-c5dab6fb402c93a92f6aa808c43956dfb9328190.tar.bz2 |
tree-optimization/121509 - failure to detect unvectorizable loop
With the hybrid stmt detection no longer working as a gate-keeper
to detect unhandled stmts we have to, and can, detect those earlier.
The appropriate place is vect_mark_stmts_to_be_vectorized where
for trivially relevant PHIs we can stop analyzing when the PHI
wasn't classified as a known def during vect_analyze_scalar_cycles.
PR tree-optimization/121509
* tree-vect-stmts.cc (vect_mark_stmts_to_be_vectorized):
Fail early when we detect a relevant but not handled PHI.
* gcc.dg/vect/pr121509.c: New testcase.
Diffstat (limited to 'gcc/rust/rust-attribs.cc')
0 files changed, 0 insertions, 0 deletions