[all-commits] [llvm/llvm-project] faab8f: [RISCV] Add th.ext(u) to RISCVDAGToDAGISel::hasAll...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Sep 5 11:57:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faab8f76d521d71edc196b899b5496ca2bf634d5
      https://github.com/llvm/llvm-project/commit/faab8f76d521d71edc196b899b5496ca2bf634d5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/bitextract-mac.ll
    M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll

  Log Message:
  -----------
  [RISCV] Add th.ext(u) to RISCVDAGToDAGISel::hasAllNBitUsers. (#157133)

These instructions are being used by the scalar efficiency SIG to
determine if we should have a standard instruction. Improving our
support for these instructions may give better data for their analysis.

I'll follow up by adding this to RISCVOptWInstrs too which will remove
the 'w' suffixes added here.



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