[all-commits] [llvm/llvm-project] bbe3ee: [RISCV] Add more instructions for the short forwar...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Sep 19 10:21:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbe3ee061f6d4698988b7c7aae0d607f0f2e3db5
      https://github.com/llvm/llvm-project/commit/bbe3ee061f6d4698988b7c7aae0d607f0f2e3db5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/CodeGen/RISCV/short-foward-branch-opt.ll

  Log Message:
  -----------
  [RISCV] Add more instructions for the short forward branch optimization. (#66789)

This adds the shifts and the immediate forms of the instructions that
were already supported.

There are still more instructions that can be predicated, but this is
the rest of what we had in our downstream.




More information about the All-commits mailing list