[PATCH] D63255: [ARM] Select MVE add and sub

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 05:39:09 PDT 2019


dmgreen created this revision.
dmgreen added reviewers: t.p.northover, samparker, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.

Simple patterns for MVEC integer vector add and sub instructions. I have made the default operations for non-64bit vectors to all be legal, not expand, which will obviously include more than what is included here but I think is a more sensible default, which we can fill in as we add more instructions. These patterns and others are all places at the end of ARMInstrMVE.td.

Initial code by David Sherwood


https://reviews.llvm.org/D63255

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-simple-arith.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63255.204498.patch
Type: text/x-patch
Size: 5260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190613/bece5c6e/attachment.bin>


More information about the llvm-commits mailing list