While I know the effect on x86-64 the following patch post is to trigger
CI for disabling non-SLP vectorization to look for arm/aarch64 and
risc-v specific failure modes.

        * tree-vect-stmts.cc (vect_analyze_stmt): Fail vectorization
        for non-SLP stmts.
---
 gcc/tree-vect-stmts.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index f6c5b7a7e87..cfb1066fc96 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -13351,6 +13351,10 @@ vect_analyze_stmt (vec_info *vinfo,
       return opt_result::success ();
     }
 
+  if (!node)
+    return opt_result::failure_at (stmt_info->stmt,
+                                  "needs non-SLP handling\n");
+
   ok = true;
   if (!bb_vinfo
       && (STMT_VINFO_RELEVANT_P (stmt_info)
-- 
2.43.0

Reply via email to