[RISCV] Prune unneeded indexed load/store pseudo instructions.
authorCraig Topper <craig.topper@sifive.com>
Fri, 19 Feb 2021 07:00:18 +0000 (23:00 -0800)
committerCraig Topper <craig.topper@sifive.com>
Fri, 19 Feb 2021 07:08:39 +0000 (23:08 -0800)
commitcd4051ac802fdc5664a3432f57d99bbcb4c07a92
tree18f249913aca99caa7ae3202bfb2bdcd681ca6bd
parentfd04f3a30cbb6506aea1ef0b104ab707c4331241
[RISCV] Prune unneeded indexed load/store pseudo instructions.

We were creating more combinations of value and index lmul than
we needed.

I've copied the loop structure used here from VPseudoAMOEI with
all data sew values instead of just 32/64.

Similar can be done for segment loads/store.

Reviewed By: khchen

Differential Revision: https://reviews.llvm.org/D97008
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td