A limited version of (https://reviews.llvm.org/D118090) that only marks a loop as finite if in a willreturn function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you please add a test for this? Taking an existing mustprogress test and adding a possibly side-effecting call should serve as a demonstration. Otherwise this looks fine to me.
Comment Actions
Assuming the second test can be added, see below, LG.
llvm/test/Analysis/ScalarEvolution/lt-overflow.ll | ||
---|---|---|
219 ↗ | (On Diff #404096) | This should also work w/o the call site attributes, correct? |
llvm/test/Analysis/ScalarEvolution/lt-overflow.ll | ||
---|---|---|
219 ↗ | (On Diff #404096) | If it doesn't work w/o, can u add negative tests with a FIXME. |