[PATCH] D95073: [ARM] Turn sext_inreg(VGetLaneu) into VGetLaneu

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 10:56:31 PST 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 adds a DAG combine for converting sext_inreg of VGetLaneu into VGetLanes, providing the types match correctly.


https://reviews.llvm.org/D95073

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/ARM/dagcombine-anyexttozeroext.ll
  llvm/test/CodeGen/Thumb2/mve-div-expand.ll
  llvm/test/CodeGen/Thumb2/mve-vcvt.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95073.317933.patch
Type: text/x-patch
Size: 85816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210120/9ba40c6b/attachment-0001.bin>


More information about the llvm-commits mailing list