[all-commits] [llvm/llvm-project] cdb914: [RISCV] Remove WriteJmpReg. Use WriteJalr in its p...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Jun 25 21:59:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cdb91465e34d12b22c143847eb5fdb278ecf7689
      https://github.com/llvm/llvm-project/commit/cdb91465e34d12b22c143847eb5fdb278ecf7689
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-06-25 (Sun, 25 Jun 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/lib/Target/RISCV/RISCVSchedRocket.td
    M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
    M llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR1.td
    M llvm/lib/Target/RISCV/RISCVSchedule.td

  Log Message:
  -----------
  [RISCV] Remove WriteJmpReg. Use WriteJalr in its place.

It was only used for the compressed instruction c.jr which expands
to jalr with rd=x0. Use WriteJalr instead to match jalr.




More information about the All-commits mailing list