[clang] [Clang] [ARM] Ensure FPU Features are collected when using the Clang Assembler (PR #134366)
Jack Styles via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 03:00:51 PDT 2025
================
@@ -0,0 +1,8 @@
+// Ensure that we can assemble NEON by just specifying an armv7
+// Apple or Windows target.
+
+// REQUIRES: arm-registered-target
+// RUN: %clang -c -target armv7-apple-darwin -o /dev/null %s
+// RUN: %clang -c -target armv7-windows -o /dev/null %s
----------------
Stylie777 wrote:
In this test, and `armv7s-default-vfpv4.s`, we should also test to ensure the expected `-target-feature` arguments are passed to `cc1as` by the Driver. That way we can ensure this change is having the desired effect. I did similar in `arm-fpu-selection.s`.
https://github.com/llvm/llvm-project/pull/134366
More information about the cfe-commits
mailing list