https://gcc.gnu.org/g:87235d8ae8cc40468a757ec84e84461e96b7879d

commit r15-6244-g87235d8ae8cc40468a757ec84e84461e96b7879d
Author: Christophe Lyon <christophe.l...@linaro.org>
Date:   Wed Nov 13 15:31:21 2024 +0000

    arm: [MVE intrinsics] fix store shape to support tuples
    
    Now that tuples are properly supported, we can update the store shape, to 
expect
    "t0" instead of "v0" as last argument.
    
    gcc/ChangeLog:
    
            * config/arm/arm-mve-builtins-shapes.cc (struct store_def): Add
            support for tuples.

Diff:
---
 gcc/config/arm/arm-mve-builtins-shapes.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/arm/arm-mve-builtins-shapes.cc 
b/gcc/config/arm/arm-mve-builtins-shapes.cc
index 58ea2f5b988f..5b45ee2f4657 100644
--- a/gcc/config/arm/arm-mve-builtins-shapes.cc
+++ b/gcc/config/arm/arm-mve-builtins-shapes.cc
@@ -1701,7 +1701,7 @@ struct store_def : public overloaded_base<0>
         bool preserve_user_namespace) const override
   {
     b.add_overloaded_functions (group, MODE_none, preserve_user_namespace);
-    build_all (b, "_,as,v0", group, MODE_none, preserve_user_namespace);
+    build_all (b, "_,as,t0", group, MODE_none, preserve_user_namespace);
   }
 
   tree
@@ -1713,7 +1713,7 @@ struct store_def : public overloaded_base<0>
     type_suffix_index type;
     if (!r.check_gp_argument (2, i, nargs)
        || !r.require_pointer_type (0)
-       || (type = r.infer_vector_type (1)) == NUM_TYPE_SUFFIXES)
+       || (type = r.infer_tuple_type (1)) == NUM_TYPE_SUFFIXES)
       return error_mark_node;
 
     return r.resolve_to (r.mode_suffix_id, type);

Reply via email to