[llvm] [AArch64] Add bfloat patterns for `partial_reduce_fmla` (PR #181982)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 06:07:46 PST 2026


================
@@ -2414,6 +2422,10 @@ void AArch64TargetLowering::addTypeForFixedLengthSVE(MVT VT) {
                               MVT::getVectorVT(MVT::f16, NumElts * 2), Custom);
   }
 
+  if (Subtarget->hasBF16() && VT == MVT::v4f32)
----------------
paulwalker-arm wrote:

This might already be covered but I'll preempt with please remember the current "don't introduce potentially faulting behaviour across inactive lanes" requirement for SVE operations.

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


More information about the llvm-commits mailing list