Since Step from AddRec which analyzed from GEP is SCEVConstant,
and Step is not Zero also, the GEP for load/storage will not be
a narrow GEP in inferring loop bound from array access.
Related patch: https://reviews.llvm.org/D109821
Paths
| Differential D113554
Delete code comments for impossible bugs Needs RevisionPublic Authored by Peakulorain on Nov 10 2021, 3:07 AM.
Details
Summary Since Step from AddRec which analyzed from GEP is SCEVConstant, Related patch: https://reviews.llvm.org/D109821
Diff Detail Event TimelineComment Actions What prevents: I would strongly prefer to see *test cases* which cover the piece you think is impossible. Otherwise, we're both having to reason about possibilities in code. An example helps to make that reasoning much more concrete. This revision now requires changes to proceed.Nov 16 2021, 8:53 AM
Revision Contents
Diff 386106 llvm/lib/Analysis/ScalarEvolution.cpp
|