public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8799] Vectorizer and address-spaces
@ 2024-02-05 10:06 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2024-02-05 10:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9d139c036547a4b3b43439b82f94a9c350d4fa2f
commit r14-8799-g9d139c036547a4b3b43439b82f94a9c350d4fa2f
Author: Richard Biener <rguenther@suse.de>
Date: Mon Feb 5 10:21:06 2024 +0100
Vectorizer and address-spaces
The following makes sure to use the correct pointer mode when
building pointer types to a non-default address-space.
* tree-vect-data-refs.cc (vect_create_data_ref_ptr): Use
the default mode when building a pointer.
Diff:
---
gcc/tree-vect-data-refs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/tree-vect-data-refs.cc b/gcc/tree-vect-data-refs.cc
index 2ca5a1b131bf..f79ade9509b1 100644
--- a/gcc/tree-vect-data-refs.cc
+++ b/gcc/tree-vect-data-refs.cc
@@ -5323,7 +5323,7 @@ vect_create_data_ref_ptr (vec_info *vinfo, stmt_vec_info stmt_info,
}
while (sinfo);
}
- aggr_ptr_type = build_pointer_type_for_mode (aggr_type, ptr_mode,
+ aggr_ptr_type = build_pointer_type_for_mode (aggr_type, VOIDmode,
need_ref_all);
aggr_ptr = vect_get_new_vect_var (aggr_ptr_type, vect_pointer_var, base_name);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-05 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-05 10:06 [gcc r14-8799] Vectorizer and address-spaces 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).