[PATCH] D85452: [ARM] Add VADDV and VMLAV patterns for v16i16

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 11:06:53 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: samparker, SjoerdMeijer, efriedma, ostannard, simon_tatham, samtebbs.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
dmgreen requested review of this revision.

This adds patterns for v16i16's vecreduce, using all the existing code to go via an i32 VADDV/VMLAV and truncating the result.


https://reviews.llvm.org/D85452

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-loops.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85452.283662.patch
Type: text/x-patch
Size: 61725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/c83eb4a9/attachment.bin>


More information about the llvm-commits mailing list