llvm-project
53cd5cfc - [Clang][ARM] Ensure FPU Features are parsed when targeting `cc1as` (#134612)

Commit
207 days ago
[Clang][ARM] Ensure FPU Features are parsed when targeting `cc1as` (#134612) Previously, `cc1as` did not consider the Features that can be included from a target's FPU. This could lead to a situation where assembly files could not compile as cc1as did not know if a feature was supported. With this change, all the features for the FPU will be passed to `cc1as` as `-target-feature` lines. By making this change, it will enable `+nosimd` to be functional, worked on in #130623, and fix a regression introduced in 8fa0f0efce5fb81eb422e6d7eec74c66dafef4a3 so armv7s-apple-darwin targets can utilise VFPv4 correctly. --------- Co-authored-by: Martin Storsjö <martin@martin.st>
Author
Parents
Loading