[PATCH] D91255: [AArch64] Rearrange (dup(sext/zext)) to (sext/zext(dup))

Nicholas Guy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 06:22:42 PST 2020


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

Performing this rearrangement allows for existing patterns
to match against cases where operands are hoisted up to a loop
header (by LICM), allowing for optimisations such as umull/smull
codegen, while still allowing loop-invariant values to be hoisted
out of the loop afer other optimisations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91255

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91255.304502.patch
Type: text/x-patch
Size: 9223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201111/456cb5b5/attachment.bin>


More information about the llvm-commits mailing list