RVV instructions only support base register addressing.
Probably need more directed LSR tests and maybe CodeGenPrepare.
Paths
| Differential D124820
[RISCV][WIP] Update isLegalAddressingMode for RVV. ClosedPublic Authored by craig.topper on May 2 2022, 8:52 PM.
Details Summary RVV instructions only support base register addressing. Probably need more directed LSR tests and maybe CodeGenPrepare.
Diff Detail
Unit TestsFailed
Event TimelineComment Actions LGTM w/comment addressed. I applied this locally and checked a couple of hand written vector loops I'm using to get myself started, and the results look entirely reasonable.
This revision is now accepted and ready to land.May 3 2022, 12:56 PM
This revision was landed with ongoing or failed builds.May 3 2022, 7:50 PM Closed by commit rG1d6430b9e2b8: [RISCV] Update isLegalAddressingMode for RVV. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 426570 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vector-strided-load-store.ll
|
clang-format not found in user’s local PATH; not linting file.