[PATCH] D75746: [LoopVectorizer] Simplify branch in the remainder loop for trivial cases
Danila Malyutin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 31 08:03:20 PST 2020
danilaml added a comment.
In D75746#2475681 <https://reviews.llvm.org/D75746#2475681>, @lebedev.ri wrote:
> Is there no transform that can be taught to do this cleanup instead?
Possibly, but I have a hard time imagining how it could be done. Perhaps someone much more knowledgeable in LLVM loop optimizations than I can answer that.
I'm not even sure if it's currently possible to reliably reconstruct the unroll factor and find the remainder loop in some pass after unrolling has been complete.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75746/new/
https://reviews.llvm.org/D75746
More information about the llvm-commits
mailing list