public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/vrull/heads/slp-improvements)] Fix: Do not rearrange load/store nodes in try_rearrange_oprnd_info
@ 2024-01-23 20:58 Philipp Tomsich
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Tomsich @ 2024-01-23 20:58 UTC (permalink / raw)
  To: gcc-cvs

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

commit eb7983da4eed2d565e184b3b850609c0e08bb9f4
Author: Manolis Tsamis <manolis.tsamis@vrull.eu>
Date:   Wed Dec 6 14:41:50 2023 +0100

    Fix: Do not rearrange load/store nodes in try_rearrange_oprnd_info
    
    Ref #342

Diff:
---
 gcc/tree-vect-slp.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index bb917e733df..c1b7fb436e4 100644
--- a/gcc/tree-vect-slp.cc
+++ b/gcc/tree-vect-slp.cc
@@ -1832,7 +1832,8 @@ try_rearrange_oprnd_info (vec<slp_oprnd_info> &oprnds_info, unsigned group_size)
 
   FOR_EACH_VEC_ELT (oprnds_info, i, oprnd_info)
     for (unsigned int j = 0; j < group_size; j += 1)
-      if (!oprnd_info->def_stmts[j])
+      if (!oprnd_info->def_stmts[j]
+	  || STMT_VINFO_DATA_REF (oprnd_info->def_stmts[j]))
 	return 0;
 
   int pattern = 0;

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

* [gcc(refs/vendors/vrull/heads/slp-improvements)] Fix: Do not rearrange load/store nodes in try_rearrange_oprnd_info
@ 2024-01-17 19:15 Philipp Tomsich
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Tomsich @ 2024-01-17 19:15 UTC (permalink / raw)
  To: gcc-cvs

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

commit b2db4d6d8b0cce535d774970654b62763e157ecf
Author: Manolis Tsamis <manolis.tsamis@vrull.eu>
Date:   Wed Dec 6 14:41:50 2023 +0100

    Fix: Do not rearrange load/store nodes in try_rearrange_oprnd_info
    
    Ref #342

Diff:
---
 gcc/tree-vect-slp.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index 28defc56d29..f2ee40b25f9 100644
--- a/gcc/tree-vect-slp.cc
+++ b/gcc/tree-vect-slp.cc
@@ -1832,7 +1832,8 @@ try_rearrange_oprnd_info (vec<slp_oprnd_info> &oprnds_info, unsigned group_size)
 
   FOR_EACH_VEC_ELT (oprnds_info, i, oprnd_info)
     for (unsigned int j = 0; j < group_size; j += 1)
-      if (!oprnd_info->def_stmts[j])
+      if (!oprnd_info->def_stmts[j]
+	  || STMT_VINFO_DATA_REF (oprnd_info->def_stmts[j]))
 	return 0;
 
   int pattern = 0;

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

end of thread, other threads:[~2024-01-23 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-23 20:58 [gcc(refs/vendors/vrull/heads/slp-improvements)] Fix: Do not rearrange load/store nodes in try_rearrange_oprnd_info Philipp Tomsich
  -- strict thread matches above, loose matches on Subject: below --
2024-01-17 19:15 Philipp Tomsich

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).