public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/rguenth/heads/vect-force-slp)] Properly reject SLP gather with builtin decl
@ 2023-10-16 12:50 Richard Biener
0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2023-10-16 12:50 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4eb4017ff1ca980e2ff8f78a21efd10f21f89c14
commit 4eb4017ff1ca980e2ff8f78a21efd10f21f89c14
Author: Richard Biener <rguenther@suse.de>
Date: Fri Sep 29 14:34:33 2023 +0200
Properly reject SLP gather with builtin decl
The builtin decl path for gather load vectorization doesn't implement
SLP (PR111131). Check that instead of ICEing.
* tree-vect-stmts.cc (vectorizable_load): Reject SLP gather
with builtin decl vectorization.
Diff:
---
gcc/tree-vect-stmts.cc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 88732fe14d7b..1fb07d2f190f 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -10069,6 +10069,14 @@ vectorizable_load (vec_info *vinfo,
}
}
+ if (memory_access_type == VMAT_GATHER_SCATTER && gs_info.decl && slp)
+ {
+ if (dump_enabled_p ())
+ dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
+ "unsupported SLP gather.\n");
+ return false;
+ }
+
bool costing_p = !vec_stmt;
if (costing_p) /* transformation not required. */
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gcc(refs/users/rguenth/heads/vect-force-slp)] Properly reject SLP gather with builtin decl
@ 2023-10-06 7:07 Richard Biener
0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2023-10-06 7:07 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5fb7c61b94f9d83e31e26fa7f2f7f2279d2748ef
commit 5fb7c61b94f9d83e31e26fa7f2f7f2279d2748ef
Author: Richard Biener <rguenther@suse.de>
Date: Fri Sep 29 14:34:33 2023 +0200
Properly reject SLP gather with builtin decl
The builtin decl path for gather load vectorization doesn't implement
SLP (PR111131). Check that instead of ICEing.
* tree-vect-stmts.cc (vectorizable_load): Reject SLP gather
with builtin decl vectorization.
Diff:
---
gcc/tree-vect-stmts.cc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 4b0852dead1..a4a912474a1 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -9770,6 +9770,14 @@ vectorizable_load (vec_info *vinfo,
}
}
+ if (memory_access_type == VMAT_GATHER_SCATTER && gs_info.decl && slp)
+ {
+ if (dump_enabled_p ())
+ dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
+ "unsupported SLP gather.\n");
+ return false;
+ }
+
bool costing_p = !vec_stmt;
if (costing_p) /* transformation not required. */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-16 12:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 12:50 [gcc(refs/users/rguenth/heads/vect-force-slp)] Properly reject SLP gather with builtin decl Richard Biener
-- strict thread matches above, loose matches on Subject: below --
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).