[llvm] [AArch64][SVE] add missing MLA commute instcombine (PR #205526)
Tomas Matheson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 25 05:49:35 PDT 2026
================
@@ -288,7 +288,8 @@ define <vscale x 4 x i32> @svmla_u_i32_by_8(<vscale x 4 x i1> %pg, <vscale x 4 x
define <vscale x 4 x i32> @svmla_u_i32_by_2_commuted(<vscale x 4 x i1> %pg, <vscale x 4 x i32> %a, <vscale x 4 x i32> %x) {
; CHECK-LABEL: svmla_u_i32_by_2_commuted:
; CHECK: // %bb.0:
-; CHECK-NEXT: adr z0.s, [z0.s, z1.s, lsl #1]
+; CHECK-NEXT: mov z2.s, #2 // =0x2
+; CHECK-NEXT: mla z0.s, p0/m, z2.s, z1.s
; CHECK-NEXT: ret
----------------
tommat01 wrote:
Done
https://github.com/llvm/llvm-project/pull/205526
More information about the llvm-commits
mailing list