[PATCH] D93833: [AArch64] Handle any extend whilst lowering addw/addl/subw/subl

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 27 05:24:53 PST 2020


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

This adds an extra tablegen PatFrag, zanyext, which matches either any extend or zext and uses that in the aarch64 backend to handle any extends in addw/addl/subw/subl patterns.


https://reviews.llvm.org/D93833

Files:
  llvm/include/llvm/Target/TargetSelectionDAG.td
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/arm64-neon-3vdiff.ll
  llvm/test/CodeGen/AArch64/lowerMUL-newload.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93833.313778.patch
Type: text/x-patch
Size: 13777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201227/67562757/attachment-0001.bin>


More information about the llvm-commits mailing list