[RISCV] Add tests for loads and stores of illegal fixed length vectors
authorLuke Lau <luke@igalia.com>
Wed, 5 Apr 2023 10:02:41 +0000 (11:02 +0100)
committerLuke Lau <luke@igalia.com>
Thu, 6 Apr 2023 16:39:15 +0000 (17:39 +0100)
commit491573d1444b1dfe695717a549ebb0636d40cdf4
tree4c8b1b51582a9ebab3f21605ff80552fc0ca9417
parent2caaec65c04ea7d0e9568b7895b7a46d6100cb75
[RISCV] Add tests for loads and stores of illegal fixed length vectors

I was investigating why getMemoryOpCost was so expensive for these fixed length vector types, so I've added these tests to see what was going on.
It looks like there's some room for codegen improvement before we adjust the cost model.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D147607
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-load.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-store.ll [new file with mode: 0644]