[PATCH] D76514: [ARM] Avoid pointless vrev of element-wise vmov

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 20 10:19:15 PDT 2020


john.brawn created this revision.
john.brawn added reviewers: dmgreen, simon_tatham, SjoerdMeijer.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

If we have an element-wise vmov immediate instruction then a subsequent vrev with width greater or equal to the vmov element width, then that vrev won't do anything. Add patterns to avoid inserting such vrevs when generating big-endian code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76514

Files:
  llvm/lib/Target/ARM/ARMInstrNEON.td
  llvm/test/CodeGen/ARM/vmov.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76514.251687.patch
Type: text/x-patch
Size: 25981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200320/a79423d8/attachment.bin>


More information about the llvm-commits mailing list