[PATCH] D111571: [X86] `detectAVGPattern()`: support basic case of PAVG chaining (PR52131)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 11 13:41:12 PDT 2021


lebedev.ri updated this revision to Diff 378783.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.

Use `KnownBits::countMaxActiveBits()`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111571

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/avg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111571.378783.patch
Type: text/x-patch
Size: 12087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211011/bc71880f/attachment.bin>


More information about the llvm-commits mailing list