[llvm] [AArch64] Give a higher cost for more expensive SVE FCMP instructions (PR #153816)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 13:13:06 PDT 2025


================
@@ -4462,6 +4490,12 @@ InstructionCost AArch64TTIImpl::getCmpSelInstrCost(
              (VecPred == FCmpInst::FCMP_ONE || VecPred == FCmpInst::FCMP_UEQ))
       Factor = 3; // fcmxx+fcmyy+or
 
+    if (isa<ScalableVectorType>(ValTy) &&
----------------
davemgreen wrote:

Yeah I have been focusing on neon and sve vla for the moment.

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


More information about the llvm-commits mailing list