[PATCH] D140493: [SROA] Support promotion in presence of variably-indexed loads
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 14:51:30 PST 2022
lebedev.ri added a comment.
In D140493#4011795 <https://reviews.llvm.org/D140493#4011795>, @barannikov88 wrote:
> Could ScalarEvolution + SCEVExpander help with computing / materializing the offset?
> It is mainly used for loop transformations, but it should be possible to use it for linear code as well.
> One caveat: ScalarEvolution does not peek through addrspacecasts (is it safe to ignore them anyway?).
Oh believe me, i've thought about that one.
For the minuscule amount of functionality we need,
i don't think it's worth all the extra complexity it would bring.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140493/new/
https://reviews.llvm.org/D140493
More information about the llvm-commits
mailing list