================ @@ -0,0 +1,72 @@ +// RUN: %clang_cc1 -triple aarch64-linux-gnu -fenable-matrix -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,AAPCS +// RUN: %clang_cc1 -triple arm64-apple-ios -target-abi darwinpcs -fenable-matrix -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,DARWIN + +typedef float __attribute__((matrix_type(2, 2))) f2x2; ---------------- smithp35 wrote:
One of the requirements for a homogeneous floating point aggregate HFA is that the size is a multiple of its alignment. Assuming there aren't other tests that cover this, could be worth adding a test for an overaligned matrix_type that does not qualify. https://github.com/llvm/llvm-project/pull/222429 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
