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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-load.ll | ||
---|---|---|
23 | This seems to be loading 8 bytes in the generated code. Should probably test with an explicit align 1 on the load too. |
This seems to be loading 8 bytes in the generated code. Should probably test with an explicit align 1 on the load too.