[PATCH] D145155: [RISCV] Enable interleaved access vectorization
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 04:39:10 PST 2023
luke added inline comments.
================
Comment at: llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses-expensive.ll:4
+
+; This element type isn't a supported SEW so this shouldn't be interleaved
+define void @load_store_expensive(ptr %p) {
----------------
We don't need to check if the type is legal in `getInterleavedMemoryOpCost`, since the loop vectorizer already checks if the type needs to be split by calling `TTI.getNumberOfParts`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145155/new/
https://reviews.llvm.org/D145155
More information about the llvm-commits
mailing list