[all-commits] [llvm/llvm-project] 10c389: [RISCV] Refactor the tablegen classes for P-ext sh...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jul 23 08:45:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10c38943a074033143cfb86118e4e6251db97e9a
      https://github.com/llvm/llvm-project/commit/10c38943a074033143cfb86118e4e6251db97e9a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoP.td

  Log Message:
  -----------
  [RISCV] Refactor the tablegen classes for P-ext shift instructions. NFC (#150175)

-Rename based on element size suffix rather than immediate size.
-Use _ri suffix like we do for shifts in the base ISA.
-Push some common code to the base class.
-Use shamt for the field name to enable more sharing.
-Add funct3 as a parameter which we'll need for right shifts.



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