[clang] [llvm] [AArch64][Driver] Fix behavior of +nofeat modifier on -mcpu (PR #203458)
Tomas Matheson via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 6 23:31:20 PDT 2026
================
@@ -340,14 +340,22 @@ void AArch64::ExtensionSet::disable(ArchExtKind E) {
disable(Dep.Later);
}
+static void setEnableIfMandatory(AArch64::ExtensionSet &Exts,
+ AArch64::ExtensionInfo E) {
+ if (Exts.BaseArch->DefaultExts.test(E.ID))
+ Exts.Enabled.set(E.ID);
----------------
tommat01 wrote:
Comment added
https://github.com/llvm/llvm-project/pull/203458
More information about the llvm-commits
mailing list