[all-commits] [llvm/llvm-project] 2f9556: [RISCV] Simplify RVKUnary_rnum slightly. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jul 28 21:39:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f955646713ba6d2f7d96839cb45136da0e0bf2b
      https://github.com/llvm/llvm-project/commit/2f955646713ba6d2f7d96839cb45136da0e0bf2b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

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

  Log Message:
  -----------
  [RISCV] Simplify RVKUnary_rnum slightly. NFC


  Commit: 68047165c321ecc7a237412cbbc923b486cbfd34
      https://github.com/llvm/llvm-project/commit/68047165c321ecc7a237412cbbc923b486cbfd34
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrFormats.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZk.td

  Log Message:
  -----------
  [RISCV] Add RVInstIUnary class to RISCVInstrFormats.td. NFC

Zb and Zk extensions both have some unary instructions where all
12 bits are fixed. Add a base format that allows this.

This switches the Zb instruction InstrFormatR to I, but that seems
more correct.


Compare: https://github.com/llvm/llvm-project/compare/80765ede5bbc...68047165c321


More information about the All-commits mailing list