[clang] [Clang] [ARM] Ensure FPU Features are collected when using the Clang Assembler (PR #134366)

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 7 04:57:06 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
----------------
mstorsjo wrote:

No, the downstream patch doesn't need to update these tests; the whole point of the code added in #122095 is to make sure that NEON still does get enabled by default for the windows/darwin targets. (I just retested building your PR 134612 together with that downstream patch, and those tests still pass.)

https://github.com/llvm/llvm-project/pull/134366


More information about the cfe-commits mailing list