[PATCH] D93832: [AArch64] Handle any extend whilst lowering mull

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 27 05:19:23 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.

Demanded bits may turn a sext or zext into an anyext if the top bits are not needed. This currently prevents the lowering to instructions like mull, addl and addw. This patch fixes the mull generation by keeping it simple and treating them like zextends.


https://reviews.llvm.org/D93832

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/aarch64-smull.ll
  llvm/test/CodeGen/AArch64/lowerMUL-newload.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93832.313777.patch
Type: text/x-patch
Size: 14980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201227/8ba2b727/attachment.bin>


More information about the llvm-commits mailing list