public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1934] Fix build of aarc64
@ 2023-06-19  8:42 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2023-06-19  8:42 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:60c120686da91d84b970ad949073c91085a52b91

commit r14-1934-g60c120686da91d84b970ad949073c91085a52b91
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Jun 19 10:30:54 2023 +0200

    Fix build of aarc64
    
    The following fixes a reference to LOOP_VINFO_MASKS array in the
    aarch64 backend after my changes.
    
            * config/aarch64/aarch64.cc
            (aarch64_vector_costs::analyze_loop_vinfo): Fix reference
            to LOOP_VINFO_MASKS.

Diff:
---
 gcc/config/aarch64/aarch64.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index df37bde6a78..ee37ceaa255 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -16256,7 +16256,8 @@ aarch64_vector_costs::analyze_loop_vinfo (loop_vec_info loop_vinfo)
       unsigned int num_masks = 0;
       rgroup_controls *rgm;
       unsigned int num_vectors_m1;
-      FOR_EACH_VEC_ELT (LOOP_VINFO_MASKS (loop_vinfo), num_vectors_m1, rgm)
+      FOR_EACH_VEC_ELT (LOOP_VINFO_MASKS (loop_vinfo).rgc_vec,
+			num_vectors_m1, rgm)
 	if (rgm->type)
 	  num_masks += num_vectors_m1 + 1;
       for (auto &ops : m_ops)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-19  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-19  8:42 [gcc r14-1934] Fix build of aarc64 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).