[PATCH] D76740: [ARM] MVE VMULL patterns
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 05:30:58 PDT 2020
dmgreen marked an inline comment as done.
dmgreen added a comment.
Thanks.
================
Comment at: llvm/test/CodeGen/Thumb2/mve-vmull.ll:52
; CHECK: @ %bb.0: @ %entry
-; CHECK-NEXT: vrev64.32 q2, q1
-; CHECK-NEXT: vrev64.32 q1, q0
-; CHECK-NEXT: vmov r0, s8
-; CHECK-NEXT: vmov r1, s4
-; CHECK-NEXT: umull r0, r1, r1, r0
-; CHECK-NEXT: vmov.32 q0[0], r0
-; CHECK-NEXT: vmov r0, s10
-; CHECK-NEXT: vmov.32 q0[1], r1
-; CHECK-NEXT: vmov r1, s6
-; CHECK-NEXT: umull r0, r1, r1, r0
-; CHECK-NEXT: vmov.32 q0[2], r0
-; CHECK-NEXT: vmov.32 q0[3], r1
+; CHECK-NEXT: vmullt.u32 q2, q0, q1
+; CHECK-NEXT: vmov q0, q2
----------------
samparker wrote:
> Do you know why we sometimes can't write to q0 too?
The i32 version is earlyclobber because it needs to work cross-lane. I think it's UNPREDICTABLE if Qd == Qn or Qm
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76740/new/
https://reviews.llvm.org/D76740
More information about the llvm-commits
mailing list