[all-commits] [llvm/llvm-project] 1e83d9: [RISCV] Use inheritance to reduce duplicated code ...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 10 22:54:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e83d975d72037567afd9d3b22bb063b442ec045
      https://github.com/llvm/llvm-project/commit/1e83d975d72037567afd9d3b22bb063b442ec045
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

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

  Log Message:
  -----------
  [RISCV] Use inheritance to reduce duplicated code in RISCVInstrInfoXCV.td. NFC (#130703)

CVSIMDRU and CVSIMDRI were the same except for immediate type. Make it a
default argument of CVSIMDRI so that CVSIMDRU can inherit from it and
override the argument.

Similar for CVSIMDRUWb.



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