public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/rguenth/heads/vect-force-slp)] Avoid ICEing with SLP scatter
@ 2023-10-19 13:29 Richard Biener
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Biener @ 2023-10-19 13:29 UTC (permalink / raw)
  To: gcc-cvs

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

commit ea8175e57cc7ebf536061bd7a50a333a19bbac48
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Sep 29 13:39:07 2023 +0200

    Avoid ICEing with SLP scatter
    
    When we SLP discover scatters vectorizable_store will ICE instead
    of rejecting it.  See PR111133 for the missing support.
    
            * tree-vect-stmts.cc (vectorizable_store): Reject SLP or
            grouped scatters.

Diff:
---
 gcc/tree-vect-stmts.cc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 4e5c24388996..f73f700fd62d 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -8236,6 +8236,15 @@ vectorizable_store (vec_info *vinfo,
 	return false;
     }
 
+  /* PR111133.  */
+  if (memory_access_type == VMAT_GATHER_SCATTER && (slp || grouped_store))
+    {
+      if (dump_enabled_p ())
+	dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
+			 "unsupported grouped or SLP scatter.\n");
+      return false;
+    }
+
   bool costing_p = !vec_stmt;
   if (costing_p) /* transformation not required.  */
     {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/rguenth/heads/vect-force-slp)] Avoid ICEing with SLP scatter
@ 2023-11-02 13:59 Richard Biener
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Biener @ 2023-11-02 13:59 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4ce8bd68e45be33d0598f3c117bcd2d41bd69635

commit 4ce8bd68e45be33d0598f3c117bcd2d41bd69635
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Sep 29 13:39:07 2023 +0200

    Avoid ICEing with SLP scatter
    
    When we SLP discover scatters vectorizable_store will ICE instead
    of rejecting it.  See PR111133 for the missing support.
    
            * tree-vect-stmts.cc (vectorizable_store): Reject SLP or
            grouped scatters.

Diff:
---
 gcc/tree-vect-stmts.cc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 2a73e914bdf4..509e76b9f7b2 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -8344,6 +8344,15 @@ vectorizable_store (vec_info *vinfo,
 	return false;
     }
 
+  /* PR111133.  */
+  if (memory_access_type == VMAT_GATHER_SCATTER && (slp || grouped_store))
+    {
+      if (dump_enabled_p ())
+	dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
+			 "unsupported grouped or SLP scatter.\n");
+      return false;
+    }
+
   bool costing_p = !vec_stmt;
   if (costing_p) /* transformation not required.  */
     {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/rguenth/heads/vect-force-slp)] Avoid ICEing with SLP scatter
@ 2023-10-16 12:49 Richard Biener
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Biener @ 2023-10-16 12:49 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:484ffc302ddd9252ffa89223a6754dacf5613c36

commit 484ffc302ddd9252ffa89223a6754dacf5613c36
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Sep 29 13:39:07 2023 +0200

    Avoid ICEing with SLP scatter
    
    When we SLP discover scatters vectorizable_store will ICE instead
    of rejecting it.  See PR111133 for the missing support.
    
            * tree-vect-stmts.cc (vectorizable_store): Reject SLP or
            grouped scatters.

Diff:
---
 gcc/tree-vect-stmts.cc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 5fac67467021..88732fe14d7b 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -8401,6 +8401,15 @@ vectorizable_store (vec_info *vinfo,
 	return false;
     }
 
+  /* PR111133.  */
+  if (memory_access_type == VMAT_GATHER_SCATTER && (slp || grouped_store))
+    {
+      if (dump_enabled_p ())
+	dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
+			 "unsupported grouped or SLP scatter.\n");
+      return false;
+    }
+
   bool costing_p = !vec_stmt;
   if (costing_p) /* transformation not required.  */
     {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/rguenth/heads/vect-force-slp)] Avoid ICEing with SLP scatter
@ 2023-10-06  7:07 Richard Biener
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Biener @ 2023-10-06  7:07 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5b531e82a0ce456ecd9ce370cb0f96a47d4b8eeb

commit 5b531e82a0ce456ecd9ce370cb0f96a47d4b8eeb
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Sep 29 13:39:07 2023 +0200

    Avoid ICEing with SLP scatter
    
    When we SLP discover scatters vectorizable_store will ICE instead
    of rejecting it.  See PR111133 for the missing support.
    
            * tree-vect-stmts.cc (vectorizable_store): Reject SLP or
            grouped scatters.

Diff:
---
 gcc/tree-vect-stmts.cc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 2061d914740..4b0852dead1 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -8372,6 +8372,15 @@ vectorizable_store (vec_info *vinfo,
 	return false;
     }
 
+  /* PR111133.  */
+  if (memory_access_type == VMAT_GATHER_SCATTER && (slp || grouped_store))
+    {
+      if (dump_enabled_p ())
+	dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
+			 "unsupported grouped or SLP scatter.\n");
+      return false;
+    }
+
   if (!vec_stmt) /* transformation not required.  */
     {
       STMT_VINFO_MEMORY_ACCESS_TYPE (stmt_info) = memory_access_type;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-02 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-19 13:29 [gcc(refs/users/rguenth/heads/vect-force-slp)] Avoid ICEing with SLP scatter Richard Biener
  -- strict thread matches above, loose matches on Subject: below --
2023-11-02 13:59 Richard Biener
2023-10-16 12:49 Richard Biener
2023-10-06  7:07 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).