[all-commits] [llvm/llvm-project] 53cd5c: [Clang][ARM] Ensure FPU Features are parsed when t...

Jack Styles via All-commits all-commits at lists.llvm.org
Mon Apr 14 00:16:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53cd5cfc675dad1bf6bc820a72e0eaa72a8909e7
      https://github.com/llvm/llvm-project/commit/53cd5cfc675dad1bf6bc820a72e0eaa72a8909e7
  Author: Jack Styles <jack.styles at arm.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    A clang/test/Driver/arm-fpu-selection.s
    A clang/test/Driver/armv7-default-neon.s
    A clang/test/Driver/armv7s-default-vfpv4.s
    M clang/test/Driver/armv8.1m.main.s

  Log Message:
  -----------
  [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 at martin.st>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list