[PATCH] D111862: [AArch64] Canonicalize X*(Y+1) or X*(1-Y) to madd/msub

weiwei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 20:23:10 PDT 2021


wwei created this revision.
wwei added reviewers: dmgreen, t.p.northover, efriedma, paulwalker-arm, sdesmalen, ARMDavidSpickett.
wwei added a project: LLVM.
Herald added subscribers: hiraditya, kristof.beyls.
wwei requested review of this revision.
Herald added a subscriber: llvm-commits.

Performing the rearrangement for add/sub and mul instructions to match the madd/msub pattern


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111862

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/madd-combiner.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111862.379904.patch
Type: text/x-patch
Size: 4097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211015/dfe911f8/attachment.bin>


More information about the llvm-commits mailing list