[llvm] [TTI][AArch64] Add preferFixedIfEqualToScalable hook (PR #95818)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 01:01:37 PDT 2024


================
@@ -244,6 +244,9 @@ def FeatureExperimentalZeroingPseudos
 def FeatureUseScalarIncVL : SubtargetFeature<"use-scalar-inc-vl",
   "UseScalarIncVL", "true", "Prefer inc/dec over add+cnt">;
 
+def FeatureUseFixedIfEqualToScalable : SubtargetFeature<"use-fixed-if-equal-to-scalable",
----------------
david-arm wrote:

In that case maybe it's worth us revisiting VScaleForTuning as well and making that a feature for consistency.

https://github.com/llvm/llvm-project/pull/95818


More information about the llvm-commits mailing list