Skip to content

Commit 171608a

Browse files
davemgreensmallp-o-p
authored andcommitted
[AArch64] Move FeatureUseFixedOverScalableIfEqualCost with other tuning features. NFC
This was in the with the armv9 architecture extensions.
1 parent b295685 commit 171608a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/AArch64/AArch64Features.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,6 @@ def FeatureTHE : ExtensionWithMArch<"the", "THE", "FEAT_THE",
358358
// Armv9.0 Architecture Extensions
359359
//===----------------------------------------------------------------------===//
360360

361-
def FeatureUseFixedOverScalableIfEqualCost: SubtargetFeature<"use-fixed-over-scalable-if-equal-cost",
362-
"UseFixedOverScalableIfEqualCost", "true",
363-
"Prefer fixed width loop vectorization over scalable if the cost-model assigns equal costs">;
364-
365361
def FeatureUseScalarIncVL : SubtargetFeature<"use-scalar-inc-vl",
366362
"UseScalarIncVL", "true", "Prefer inc/dec over add+cnt">;
367363

@@ -797,6 +793,10 @@ def FeatureLdpAlignedOnly : SubtargetFeature<"ldp-aligned-only", "HasLdpAlignedO
797793
def FeatureStpAlignedOnly : SubtargetFeature<"stp-aligned-only", "HasStpAlignedOnly",
798794
"true", "In order to emit stp, first check if the store will be aligned to 2 * element_size">;
799795

796+
def FeatureUseFixedOverScalableIfEqualCost: SubtargetFeature<"use-fixed-over-scalable-if-equal-cost",
797+
"UseFixedOverScalableIfEqualCost", "true",
798+
"Prefer fixed width loop vectorization over scalable if the cost-model assigns equal costs">;
799+
800800
//===----------------------------------------------------------------------===//
801801
// Architectures.
802802
//

0 commit comments

Comments
 (0)