[all-commits] [llvm/llvm-project] 90dd4c: [RISCV][GISel] Legalize G_CTPOP. (#72005)

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Nov 13 10:26:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90dd4c470fd18b8abdf80fa824245fe7c298cc32
      https://github.com/llvm/llvm-project/commit/90dd4c470fd18b8abdf80fa824245fe7c298cc32
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-ctpop.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-ctpop.mir

  Log Message:
  -----------
  [RISCV][GISel] Legalize G_CTPOP. (#72005)

The base ISA does not have an instruction for this so we need to lower.
Zbb support will come in a future patch.




More information about the All-commits mailing list