[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 04:12:14 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:
I expect the downstream patch you have listed there will need updating with the `-target-feature` lines being checked as Armv7 defaults to NEON for the FPU. However I think for upstream consistency there should be there. If we feel the compilation step can be removed, then I think it's fair to do at that stage.
https://github.com/llvm/llvm-project/pull/134366
More information about the cfe-commits
mailing list