We are going to introduce SymbolicMaxNotTaken, avoid mixing
things up.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sounds reasonable?
FTR, i would like to soon look into symbolic SCEV ranges/bounds
(akin constant ranges, just symbolic, and loop-scope-dependent), to help LoopVectorizer.
llvm/include/llvm/Analysis/ScalarEvolution.h | ||
---|---|---|
1315 | Here and elsewhere: |
llvm/include/llvm/Analysis/ScalarEvolution.h | ||
---|---|---|
1315 | No, because it can also be SCEVCouldNotCompute which is default. See assert((isa<SCEVCouldNotCompute>(ConstantMaxNotTaken) || isa<SCEVConstant>(ConstantMaxNotTaken)) && "No point in having a non-constant max backedge taken count!"); |
Here and elsewhere:
const SCEVConstant *ConstantMaxNotTaken;
?