[PATCH] D109368: [LV] Don't vectorize if we can prove RT + vector cost >= scalar cost.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 31 12:17:25 PDT 2021
fhahn added a comment.
In D109368#3089615 <https://reviews.llvm.org/D109368#3089615>, @dmgreen wrote:
> In D109368#3085804 <https://reviews.llvm.org/D109368#3085804>, @lebedev.ri wrote:
>
>> Reverse ping - thanks!
>> I've mostly implemented interleaved load/store cost modelling for AVX2 (related D111460 <https://reviews.llvm.org/D111460> is left)
>> since the original evaluation of this patch, so the effect this has may be different now.
>
> Can we make it so that this code doesn't produce a umul_with_overflow if the step is 1?
> https://github.com/llvm/llvm-project/blob/8e4c806ed5a481e4d2163c8330f3c3c024d61a36/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp#L2501
>
> (We may need to improve the costmodel for it under AArch64 too, but I've not looked into that quite yet. I'm not sure if @fhahn is planning anything like that either?)
I just rebased the patches after some of the recent changes, but there are a ton of crashes now when cleaning up after the SCEVExpander. I need to investigate that first, before collecting a new set of numbers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109368/new/
https://reviews.llvm.org/D109368
More information about the llvm-commits
mailing list