llvm-project/clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_wrffr.c

12 lines
376 B
C

// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
#include <arm_sve.h>
void test_svwrffr(svbool_t op)
{
// CHECK-LABEL: test_svwrffr
// CHECK: call void @llvm.aarch64.sve.wrffr(<vscale x 16 x i1> %op)
// CHECK: ret void
svwrffr(op);
}