[all-commits] [llvm/llvm-project] 3c0035: [AArch64][Driver] Fix behaviour of +nofeat modifie...

yamash-fj via All-commits all-commits at lists.llvm.org
Fri Sep 11 04:59:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c003512ef20a066ee864fb20c31496859b75061
      https://github.com/llvm/llvm-project/commit/3c003512ef20a066ee864fb20c31496859b75061
  Author: yamash-fj <yamashita.ta-16 at fujitsu.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M clang/test/CodeGen/AArch64/targetattr.c
    A clang/test/Driver/aarch64-mcpu-no-feat.c
    M clang/test/Driver/arm-sb.c
    M llvm/lib/TargetParser/AArch64TargetParser.cpp

  Log Message:
  -----------
  [AArch64][Driver] Fix behaviour of +nofeat modifier on -mcpu

Honour explicit +no<feature> modifiers for features implied by a CPU's
base architecture, both in -mcpu and target("cpu=...") attributes.
For example, -mcpu=neoverse-v2+nosb now disables SB instead of silently
ignoring the modifier.

Fixes #192186.



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