[llvm] [LV] Add support for partial reduction chains with fsubs. (PR #197114)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 02:40:08 PDT 2026


================
@@ -6119,13 +6124,18 @@ InstructionCost AArch64TTIImpl::getPartialReductionCost(
         llvm::is_contained({MVT::i8, MVT::i16, MVT::i32}, InVT.SimpleTy))
       return Cost * 2;
 
-    // SVE2 fmlalb/t and NEON fmlal(2)
+    // SVE2 fml[as]lb/t and NEON fml[as]l(2)
----------------
MacDue wrote:

Not changed here, but I don't think we have any test defending the NEON case with `+fp16fml`. 

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


More information about the llvm-commits mailing list