[clang] [llvm] [AArch64] Add support for C1 CPUs (PR #171124)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 9 02:29:23 PST 2025
================
@@ -669,6 +669,48 @@ def TuneNeoverseV3AE : SubtargetFeature<"neoversev3AE", "ARMProcFamily", "Neover
FeatureAvoidLDAPUR,
FeaturePredictableSelectIsExpensive]>;
+def TuneC1Nano : SubtargetFeature<"c1-nano", "ARMProcFamily",
+ "C1Nano", "C1-Nano ARM Processors",[
+ FeatureFuseAES,
+ FeatureFuseAdrpAdd,
+ FeaturePostRAScheduler,
+ FeatureUseWzrToVecMove,
+ FeatureUseFixedOverScalableIfEqualCost]>;
+
+def TuneC1Pro : SubtargetFeature<"c1-pro", "ARMProcFamily",
+ "C1Pro", "C1-Pro ARM Processors",[
+ FeatureFuseAES,
+ FeaturePostRAScheduler,
----------------
dcandler wrote:
For the Pro, I used the same tuning features as the A725. It was the Premium I got wrong somehow: it should have used the same as the Ultra. Fixed now.
https://github.com/llvm/llvm-project/pull/171124
More information about the llvm-commits
mailing list