[PATCH] D125638: [TargetLowering] Expand the last stage of i16 popcnt using shift+add+and instead of mul+shift.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 09:38:34 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1c4880a2d39f: [TargetLowering] Expand the last stage of i16 popcnt using shift+add+and… (authored by craig.topper).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125638

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/PowerPC/popcnt-zext.ll
  llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
  llvm/test/CodeGen/X86/parity-vec.ll
  llvm/test/CodeGen/X86/popcnt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125638.429748.patch
Type: text/x-patch
Size: 11319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220516/d6fc0c70/attachment.bin>


More information about the llvm-commits mailing list