[PATCH] D83777: [ARM] Generate [SU]HADD from ((a + b) >> 1)

Petre Tudor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 07:59:09 PDT 2020


PetreTudor created this revision.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.

Teach LLVM to recognize the above pattern, where the operands are
either signed or unsigned types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83777

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/arm64-vhadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83777.277834.patch
Type: text/x-patch
Size: 18533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200714/a9360690/attachment.bin>


More information about the llvm-commits mailing list