[clang] [Clang][ARM] Ensure FPU Features are parsed when targeting `cc1as` (PR #134612)
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 05:53:33 PDT 2025
================
@@ -0,0 +1,32 @@
+// REQUIRES: arm-registered-target
+// Ensures that when targeting an ARM target with an Asm file, clang
+// collects the features from the FPU. This is critical in the
+// activation of NEON for supported targets. The Cortex-R52 will be
+// used and tested for VFP and NEON Support
+
+// RUN: %clang -target arm-none-eabi -mcpu=cortex-r52 -c %s -o /dev/null | count 0
+// RUN: %clang -target arm-none-eabi -mcpu=cortex-r52 -c %s -o /dev/null -### 2>&1 | FileCheck --check-prefix=CHECK-TARGET-FEATURES %s
----------------
DavidSpickett wrote:
You only have one CHECK name (whatever the term is?) here so you could just make the check lines `CHECK:` and not need to set a check-prefix. Applies to the other files too.
https://github.com/llvm/llvm-project/pull/134612
More information about the cfe-commits
mailing list