[RISCV] Add Predicate to c.lw/c.sw/c.lwsp/c.swsp InstAliases with no offset.
authorCraig Topper <craig.topper@sifive.com>
Tue, 26 Jul 2022 17:56:37 +0000 (10:56 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 26 Jul 2022 18:06:00 +0000 (11:06 -0700)
commit3a2d7d8ad5291102ad98b8269b9c2171d3d58d76
tree96659f3fc452d38647f5136bf5be57701e2d9cf7
parent2c6e8b4636700f22a76eeda01e4a3258692b80f3
[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.
llvm/lib/Target/RISCV/RISCVInstrInfoC.td
llvm/test/MC/RISCV/rv32c-valid.s