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

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 23:51:02 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",
----------------
davemgreen wrote:

This could probably do with the word "Cost" in their somewhere. Maybe FeatureUseFixedOverScalableIfEqualCost

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


More information about the llvm-commits mailing list