1 // REQUIRES: aarch64-registered-target
2 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s
4 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null
5 #include <arm_sve.h>
6 
test_svwrffr(svbool_t op)7 void test_svwrffr(svbool_t op)
8 {
9   // CHECK-LABEL: test_svwrffr
10   // CHECK: call void @llvm.aarch64.sve.wrffr(<vscale x 16 x i1> %op)
11   // CHECK: ret void
12   svwrffr(op);
13 }
14