[all-commits] [llvm/llvm-project] f559e7: [AArch64] Handle negative architecture features
David Green via All-commits
all-commits at lists.llvm.org
Wed Feb 1 01:21:20 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f559e781b2bd918d8cac8a878639870a8f26196d
https://github.com/llvm/llvm-project/commit/f559e781b2bd918d8cac8a878639870a8f26196d
Author: David Green <david.green at arm.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M clang/lib/Basic/Targets/AArch64.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/Preprocessor/aarch64-target-features.c
Log Message:
-----------
[AArch64] Handle negative architecture features
Currently negative architecture features passes to clang like -Xclang
-target-feature -Xclang -v9.3a will end up _enabling_ dependant target
features (like FEAT_MOPS). This patch fixes that by ensuring we don't
enable dependant target features when !Enabled.
Fixes #60375
Differential Revision: https://reviews.llvm.org/D142963
More information about the All-commits
mailing list