Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / AArch64 / sme-intrinsics / acle_sme_state_builtin.c
blobf2ef0b3c1a3b5a1f1308662328e88fc290f450e9
1 // REQUIRES: aarch64-registered-target
2 // RUN: %clang_cc1 -triple aarch64-linux -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
3 // RUN: %clang_cc1 -triple aarch64-windows -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
4 // RUN: %clang_cc1 -triple aarch64-darwin -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
6 #include <stdint.h>
8 // Ensure that the builtin is defined to take a uint64_t * rather than relying
9 // on the size of 'unsigned long' which may have different meanings on different
10 // targets depending on LP64/LLP64.
11 void test_sme_state_builtin(uint64_t *a,
12 uint64_t *b) __arm_streaming_compatible {
13 __builtin_arm_get_sme_state(a, b);