[all-commits] [llvm/llvm-project] a2ad65: [RISCV] Add patterns for generating QC_CTO and QC_...

Sudharsan Veeravalli via All-commits all-commits at lists.llvm.org
Tue Jun 17 19:24:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2ad65661ad560b04952d4d992248d2db3be36c8
      https://github.com/llvm/llvm-project/commit/a2ad65661ad560b04952d4d992248d2db3be36c8
  Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td
    A llvm/test/CodeGen/RISCV/xqcibm-cto-clo.ll

  Log Message:
  -----------
  [RISCV] Add patterns for generating QC_CTO and QC_CLO (#144532)

These instructions count leading/trailing ones in the register.

Currently these are only generated when we have `Zbb` enabled (along
with `Xqcibm`) since it contains the `CTTZ/CTLZ` instructions.



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