[PATCH] D100245: [ARM] Expand VMOVRRD simplification pattern

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 10 04:36:47 PDT 2021


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

This expands the `VMOVRRD(extract(..(build_vector(a, b, c, d))))` pattern, to also handle insert_vectors. Providing we can find the correct insert, this helps further simplify patterns by removing the redundant VMOVRRD.


https://reviews.llvm.org/D100245

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/ARM/dagcombine-anyexttozeroext.ll
  llvm/test/CodeGen/ARM/vdup.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100245.336605.patch
Type: text/x-patch
Size: 72954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210410/dd18d5d9/attachment.bin>


More information about the llvm-commits mailing list