[llvm] [SelectionDAG] Improve type legalisation for PARTIAL_REDUCE_MLA (PR #130935)

Nicholas Guy via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 07:19:28 PDT 2025


================
@@ -293,6 +295,8 @@ define <vscale x 4 x i64> @sdot_8to64(<vscale x 4 x i64> %acc, <vscale x 16 x i8
 ; CHECK-NEWLOWERING-NEXT:    sunpklo z4.h, z2.b
 ; CHECK-NEWLOWERING-NEXT:    sunpklo z5.h, z3.b
 ; CHECK-NEWLOWERING-NEXT:    sunpkhi z2.h, z2.b
+; CHECK-NEWLOWERING-NEXT:    sdot z0.d, z5.h, z4.h
----------------
NickGuy-Arm wrote:

Quick follow-up; The old lowering takes in the partial reduction intrinsic (via ISD::INTRINSIC_WO_CHAIN), and would take a while to unpick, so I'll push it out to a separate PR.

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


More information about the llvm-commits mailing list