[all-commits] [llvm/llvm-project] d56662: [RISCV] Porting hasAllNBitUsers to RISCV GISel for...

Luke Quinn via All-commits all-commits at lists.llvm.org
Thu Feb 6 08:58:14 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5666294e965db2e14c0baafd4e84b57dab2060e
      https://github.com/llvm/llvm-project/commit/d5666294e965db2e14c0baafd4e84b57dab2060e
  Author: Luke Quinn <quic_lquinn at quicinc.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/CodeGen/RISCV/GlobalISel/combine.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/div-by-constant.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/rv64zbb-zbkb.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/rv64zbb.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/rv64zbkb.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/shifts.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll

  Log Message:
  -----------
  [RISCV] Porting hasAllNBitUsers to RISCV GISel for instruction select  (#125795)

Ported hasAllNBitUsers to RISCV GISel side. Add GISelPredicate code to
each of the 16,32, and 64 bit words. It allows for generation of
optimized packw sequences along with other transparent narrowing
operations. Included a few new .ll files to expand testing and limited
the OptW pass Optimization to fewer options until GISel is ready for
more code generation paths

---------

Signed-off-by: Luke Quinn <quic_lquinn at quicinc.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list