[PATCH] D132196: [PowerPC] Add combine logic to use MADDLD/MADDHD/MADDHDU in multiply-add patterns

Ting Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 18:17:17 PDT 2022


tingwang updated this revision to Diff 457142.
tingwang added a comment.

(1) Validate pattern by using NumSignBits and SignBitIsZero
(2) Add a test case to show the pattern


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132196/new/

https://reviews.llvm.org/D132196

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/add-sub-int128-madd.ll
  llvm/test/CodeGen/PowerPC/mulld.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132196.457142.patch
Type: text/x-patch
Size: 10176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220901/60f3c541/attachment.bin>


More information about the llvm-commits mailing list