[PATCH] D63884: [ARM] MVE VMOV immediate handling

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 09:00:52 PDT 2019


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

This adds some handling for VMOVimm, using the same method that NEON uses. We create VMOVIMM / VMVNIMM / VMOVFPIMM nodes based on the immediate, and select them on the now renamed ARMvmovImm / etc. There is also an extra 64bit immediate mode that I have not yet added here.

Most of the test changes are just showing the inefficiencies in buildvector that we plan to fix.

Code by David Sherwood


https://reviews.llvm.org/D63884

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/ARM/ARMInstrInfo.td
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/lib/Target/ARM/ARMInstrNEON.td
  llvm/test/CodeGen/Thumb2/mve-div-expand.ll
  llvm/test/CodeGen/Thumb2/mve-fmath.ll
  llvm/test/CodeGen/Thumb2/mve-fp-negabs.ll
  llvm/test/CodeGen/Thumb2/mve-loadstore.ll
  llvm/test/CodeGen/Thumb2/mve-minmax.ll
  llvm/test/CodeGen/Thumb2/mve-shuffle.ll
  llvm/test/CodeGen/Thumb2/mve-simple-arith.ll
  llvm/test/CodeGen/Thumb2/mve-vcvt.ll
  llvm/test/CodeGen/Thumb2/mve-vmovimm.ll
  llvm/test/CodeGen/Thumb2/mve-vmvnimm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63884.206874.patch
Type: text/x-patch
Size: 46189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/d9ac0580/attachment.bin>


More information about the llvm-commits mailing list