[PATCH] D102834: [SLPVectorizer] WIP Implement initial memory versioning (WIP!)
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 20 08:33:57 PDT 2021
fhahn added a comment.
In D102834#2771053 <https://reviews.llvm.org/D102834#2771053>, @ABataev wrote:
> ...
>
> The main problem that the versioning better to perform before we try to build the tree, otherwise we may decide to gather some instructions instead of trying vectorizing them because of possible aliasing. And it may not be profitable.
This is the main challenge I think. We could split the block at the first tree that requires runtime checks, but only generate runtime checks for all trees once we processed all trees for the block. If runtime checks are not profitable over all, we can remove the cloned block and re-process the block without versioning. May be a little expensive though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102834/new/
https://reviews.llvm.org/D102834
More information about the llvm-commits
mailing list