[PATCH] D74390: [ARM] VMLAVA reduction patterns

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 07:37:04 PST 2020


dmgreen marked an inline comment as done.
dmgreen added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMInstrMVE.td:974
+
+  def : Pat<(i32 (add (i32 (vecreduce_add (mul (v4i32 MQPR:$src1), (v4i32 MQPR:$src2)))), (i32 tGPR:$src3))),
+            (i32 (MVE_VMLADAVau32 $src3, $src1, $src2))>;
----------------
samparker wrote:
> dmgreen wrote:
> > samparker wrote:
> > > why does this pattern use a tGPR but the rest are GPR?
> > Good eyes. I've changed them to tGPREven/tGPROdd, like the instruction definition.
> > 
> > The 16/8 below is also wrong. Apparently my testing script wasn't really testing what it should have.
> Ah, so D74224 needs changing then too?
Yep. I folded the equivalent changes for the new and existing VADDV patterns into there and the previous commit.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74390/new/

https://reviews.llvm.org/D74390





More information about the llvm-commits mailing list