[PATCH] D63758: [ARM] In MVE Prefer to widen v2i32, not promote them to v2i64

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 03:04:39 PDT 2019


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

In MVE we have v4i32, but not v2i64. Set the preferred action of a v2i32 to widen not promote, so that we don't end up with an illegal type that we end up serialising.

Also adds a test for various vector widths that I'm showing the differences of here.


https://reviews.llvm.org/D63758

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/test/CodeGen/Thumb2/mve-add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63758.206397.patch
Type: text/x-patch
Size: 4301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190625/5c623b67/attachment.bin>


More information about the llvm-commits mailing list