[all-commits] [llvm/llvm-project] 9ec147: [RISCV] Collapse loadfp32imm/loadfp64imm/loadfp16i...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 31 13:12:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ec147e3346b3ed9437d853d3355d609e0c3f502
      https://github.com/llvm/llvm-project/commit/9ec147e3346b3ed9437d853d3355d609e0c3f502
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

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

  Log Message:
  -----------
  [RISCV] Collapse loadfp32imm/loadfp64imm/loadfp16imm to a single Operand in tablegen

They were identical except for the type passed to Operand, but
I don't think that type is used for anything with the way its
being used today.


  Commit: efc5b5188e742faddcc43069679034b87c3398c5
      https://github.com/llvm/llvm-project/commit/efc5b5188e742faddcc43069679034b87c3398c5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfa.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td

  Log Message:
  -----------
  [RISCV] Add named constants for rounding mode to tablegen. NFC

Instead of hardcoding the values, uses name constants to improve
readability.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D147352


Compare: https://github.com/llvm/llvm-project/compare/04a785ed165d...efc5b5188e74


More information about the All-commits mailing list