[TableGen] Fix validateOperandClass for non Phyical Reg (#118146)
[llvm-project.git] / clang / test / Sema / arm_vfma.c
blob797c43021610daa088d319711679170b1aad1f3f
1 // RUN: %clang_cc1 -triple thumbv7-none-eabi -target-feature +neon -target-feature +vfp4 -fsyntax-only -verify %s
2 // REQUIRES: aarch64-registered-target || arm-registered-target
4 #include <arm_neon.h>
6 // expected-no-diagnostics
8 void func(float32x2_t v2f32, float32x4_t v4f32) {
9 vfma_f32(v2f32, v2f32, v2f32);
10 vfmaq_f32(v4f32, v4f32, v4f32);
12 vfms_f32(v2f32, v2f32, v2f32);
13 vfmsq_f32(v4f32, v4f32, v4f32);