[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / aarch64-sve-inline-asm.c
blob8f26680e08f4c5d4b88b237d9826d910df1b2de6
1 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK
3 void test_sve_asm(void) {
4 asm volatile(
5 "ptrue p0.d\n"
6 "ptrue p15.d\n"
7 "add z0.d, p0/m, z0.d, z0.d\n"
8 "add z31.d, p0/m, z31.d, z31.d\n"
11 : "z0", "z31", "p0", "p15");
12 // CHECK: "~{z0},~{z31},~{p0},~{p15}"