[llvm] [LV] Rework collectUnitStridePredicates (PR #216362)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 01:38:05 PDT 2026
artagnon wrote:
> > > when the symbolic strides map is guaranteed to have StrideSCEVs speculated to unit.
> >
> >
> > It's not immediately obvious to me what is guaranteeing that these are equal to one. This probably could do with a comment in collectUnitStridePredicates explaining how we can rely on this being true.
>
> Or perhaps there is a way to assert something about the stride or predicate?
Added a brief comment, thanks. Unfortunately, there is no way to assert, because StridesMap doesn't contain the explicit unit information.
https://github.com/llvm/llvm-project/pull/216362
More information about the llvm-commits
mailing list