[clang][aarch64] Address various fixed-length SVE vector operations
This patch adds tests and support for operations on SVE vectors created by the 'arm_sve_vector_bits' attribute, described by the Arm C Language Extensions (ACLE, version 00bet6, section 3.7.3.3) for SVE [1]. This covers the following: * VLSTs support the same forms of element-wise initialization as GNU vectors. * VLSTs support the same built-in C and C++ operators as GNU vectors. * Conditional and binary expressions containing GNU and SVE vectors (fixed or sizeless) are invalid since the ambiguity around the result type affects the ABI. No functional changes were required to support vector initialization and operators. The functional changes are to address unsupported conditional and binary expressions. [1] https://developer.arm.com/documentation/100987/latest Reviewed By: fpetrogalli Differential Revision: https://reviews.llvm.org/D88233
Loading
Please sign in to comment