[all-commits] [llvm/llvm-project] 3a2d7d: [RISCV] Add Predicate to c.lw/c.sw/c.lwsp/c.swsp I...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jul 26 11:06:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a2d7d8ad5291102ad98b8269b9c2171d3d58d76
      https://github.com/llvm/llvm-project/commit/3a2d7d8ad5291102ad98b8269b9c2171d3d58d76
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/test/MC/RISCV/rv32c-valid.s

  Log Message:
  -----------
  [RISCV] Add Predicate to c.lw/c.sw/c.lwsp/c.swsp InstAliases with no offset.

These are aliases that allow the immediate offset to be ommitted.
We had predicates for the RV64, RV32+F, and D versions, but
not the base versions.

I've also re-ordered them to share Predicate lines to improve
readability.




More information about the All-commits mailing list