Tested on aarch64-linux, darwin, pushed to trunk to fix bootstrap and
as obvious, thanks
Iain

--- 8< ---

r17-1655-g7d351b07e5b85c introduces 'vec_deconstruct' which needs to
be handled in the aarch64_vector_costs::count_ops code, leading to a
bootstrap fail.

gcc/ChangeLog:

        * config/aarch64/aarch64.cc
        (aarch64_vector_costs::count_ops): Treat vec_deconstruct in the
        same way as vec_construct.

Signed-off-by: Iain Sandoe <[email protected]>
---
 gcc/config/aarch64/aarch64.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index c9403ed94e7..9dd19d81d7b 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -18384,6 +18384,7 @@ aarch64_vector_costs::count_ops (unsigned int count, 
vect_cost_for_stmt kind,
     case vec_perm:
     case vec_promote_demote:
     case vec_construct:
+    case vec_deconstruct:
     case vec_to_scalar:
     case scalar_to_vec:
     case vector_stmt:
-- 
2.50.1 (Apple Git-155)

Reply via email to