[llvm] [LV] Rework collectUnitStridePredicates (PR #216362)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 01:22:33 PDT 2026


david-arm 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?

https://github.com/llvm/llvm-project/pull/216362


More information about the llvm-commits mailing list