[all-commits] [llvm/llvm-project] 275729: [X86] Generalize i8 CTPOP expansion to work with a...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Feb 2 06:30:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 275729ae06d568e9589392c142a416fb8c2bb1a8
      https://github.com/llvm/llvm-project/commit/275729ae06d568e9589392c142a416fb8c2bb1a8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/masked_compressstore.ll
    M llvm/test/CodeGen/X86/masked_expandload.ll

  Log Message:
  -----------
  [X86] Generalize i8 CTPOP expansion to work with any input with 8 or less active bits

Extend #79989 slightly to use KnownBits on the CTPOP input - this should make it easier to add additional cases identified in #79823




More information about the All-commits mailing list