aarch64: Add a separate "SVE sizeless type" attribute
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 13 Mar 2020 11:32:53 +0000 (11:32 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 9 Apr 2020 16:11:11 +0000 (17:11 +0100)
commit5002dae3df4efa7a2db1869ae6f8edd329df8486
tree88cdbccf8df8ff193646d93e3aaca775d2ada75b
parenta4d2774c9c1e213cb129c8b81a591297669838c8
aarch64: Add a separate "SVE sizeless type" attribute

It's more convenient for a later patch if sizelessness is represented
separately from "SVEness".  "SVEness" is an ABI property that carries
forward into gimple and beyond, and continues to matter during LTO.
Sizelessness is just a frontend restriction and can be ignored after
that.

2020-04-09  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64.c (aarch64_attribute_table): Add
"SVE sizeless type".
* config/aarch64/aarch64-sve-builtins.cc (make_type_sizeless)
(sizeless_type_p): New functions.
(register_builtin_types): Apply make_type_sizeless to the type.
(register_tuple_type): Likewise.
(verify_type_context): Use sizeless_type_p instead of builin_type_p.
gcc/ChangeLog
gcc/config/aarch64/aarch64-sve-builtins.cc
gcc/config/aarch64/aarch64.c