[all-commits] [llvm/llvm-project] 941001: [X86] Add i8 CTPOP lowering using i32 MUL (#79989)

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Feb 2 02:40:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9410019ac977141bc73aee19690b5896ded59219
      https://github.com/llvm/llvm-project/commit/9410019ac977141bc73aee19690b5896ded59219
  Author: Simon Pilgrim <RKSimon at users.noreply.github.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/ctpop-combine.ll
    M llvm/test/CodeGen/X86/popcnt.ll

  Log Message:
  -----------
  [X86] Add i8 CTPOP lowering using i32 MUL (#79989)

This is the first basic proposal in #79823 - we can investigate improving support for other widths if we can find further use cases.




More information about the All-commits mailing list