public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10005] tree-optimization/114749 - reset partial vector decision for no-SLP retry
@ 2024-04-17  9:30 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2024-04-17  9:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:bf2b5231312e1cea45732cb8df6ffa2b2c9115b6

commit r14-10005-gbf2b5231312e1cea45732cb8df6ffa2b2c9115b6
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Apr 17 10:40:04 2024 +0200

    tree-optimization/114749 - reset partial vector decision for no-SLP retry
    
    The following makes sure to reset LOOP_VINFO_USING_PARTIAL_VECTORS_P
    to its default of false when re-trying without SLP as otherwise
    analysis may run into bogus asserts.
    
            PR tree-optimization/114749
            * tree-vect-loop.cc (vect_analyze_loop_2): Reset
            LOOP_VINFO_USING_PARTIAL_VECTORS_P when re-trying without SLP.

Diff:
---
 gcc/tree-vect-loop.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc
index 431b3e9492c..a6cf0a5546c 100644
--- a/gcc/tree-vect-loop.cc
+++ b/gcc/tree-vect-loop.cc
@@ -3400,6 +3400,7 @@ again:
   LOOP_VINFO_VERSIONING_THRESHOLD (loop_vinfo) = 0;
   LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P (loop_vinfo)
     = saved_can_use_partial_vectors_p;
+  LOOP_VINFO_USING_PARTIAL_VECTORS_P (loop_vinfo) = false;
 
   goto start_over;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-17  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17  9:30 [gcc r14-10005] tree-optimization/114749 - reset partial vector decision for no-SLP retry Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).