aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-attribs.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-08-12 09:51:54 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-08-12 11:05:35 +0200
commitc5dab6fb402c93a92f6aa808c43956dfb9328190 (patch)
tree36dc2336342f2fd316b76ea45bac37514c62ff22 /gcc/rust/rust-attribs.cc
parenta440b382e43203857de9195eb526c4a16f21ceb1 (diff)
downloadgcc-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