[RISCV] Pattern match scalable strided load/store
authorPhilip Reames <preames@rivosinc.com>
Sun, 25 Sep 2022 00:06:48 +0000 (17:06 -0700)
committerPhilip Reames <listmail@philipreames.com>
Sun, 25 Sep 2022 00:41:58 +0000 (17:41 -0700)
commit5358968e131cc486f236b0a5593d2201a609cdc1
tree2c005cef8ad6781c92246375d69b1dc176ecdbf9
parent6e7c54ecafd147e292fcb60f96cf869b0b840854
[RISCV] Pattern match scalable strided load/store

Very straight forward extension of the existing pattern matching pass to handle scalable types as well as fixed length types. The only extra bit beyond removing a bailout is recognizing stepvector.

Differential Revision: https://reviews.llvm.org/D134502
llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll