[llvm] 95fb7f8 - [AArch64] Move FeatureUseFixedOverScalableIfEqualCost with other tuning features. NFC

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 08:47:52 PDT 2024


Author: David Green
Date: 2024-11-01T15:47:47Z
New Revision: 95fb7f8cb8a5fd6ceabb4d9aca8b0a17829777d1

URL: https://github.com/llvm/llvm-project/commit/95fb7f8cb8a5fd6ceabb4d9aca8b0a17829777d1
DIFF: https://github.com/llvm/llvm-project/commit/95fb7f8cb8a5fd6ceabb4d9aca8b0a17829777d1.diff

LOG: [AArch64] Move FeatureUseFixedOverScalableIfEqualCost with other tuning features. NFC

This was in the with the armv9 architecture extensions.

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64Features.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64Features.td b/llvm/lib/Target/AArch64/AArch64Features.td
index e481da74ba2d6e..642976cd3ea076 100644
--- a/llvm/lib/Target/AArch64/AArch64Features.td
+++ b/llvm/lib/Target/AArch64/AArch64Features.td
@@ -358,10 +358,6 @@ def FeatureTHE : ExtensionWithMArch<"the", "THE", "FEAT_THE",
 //  Armv9.0 Architecture Extensions
 //===----------------------------------------------------------------------===//
 
-def FeatureUseFixedOverScalableIfEqualCost: SubtargetFeature<"use-fixed-over-scalable-if-equal-cost",
-  "UseFixedOverScalableIfEqualCost", "true",
-  "Prefer fixed width loop vectorization over scalable if the cost-model assigns equal costs">;
-
 def FeatureUseScalarIncVL : SubtargetFeature<"use-scalar-inc-vl",
   "UseScalarIncVL", "true", "Prefer inc/dec over add+cnt">;
 
@@ -797,6 +793,10 @@ def FeatureLdpAlignedOnly : SubtargetFeature<"ldp-aligned-only", "HasLdpAlignedO
 def FeatureStpAlignedOnly : SubtargetFeature<"stp-aligned-only", "HasStpAlignedOnly",
     "true", "In order to emit stp, first check if the store will be aligned to 2 * element_size">;
 
+def FeatureUseFixedOverScalableIfEqualCost: SubtargetFeature<"use-fixed-over-scalable-if-equal-cost",
+  "UseFixedOverScalableIfEqualCost", "true",
+  "Prefer fixed width loop vectorization over scalable if the cost-model assigns equal costs">;
+
 //===----------------------------------------------------------------------===//
 // Architectures.
 //


        


More information about the llvm-commits mailing list