[PATCH] D22377: [SCEV] trip count calculation for loops with unknown stride

Pankaj Chawla via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 16:17:34 PDT 2016


pankajchawla updated this revision to Diff 65624.
pankajchawla added a comment.

- Added check to prove that the stride is truly unknown to ScalarEvolution so that the wrap flags are not propagated in edge cases.
- Removed unnecessary check for loopHasNoAbnormalExits() and loop entry guard.
- Fixed comments and the test.


https://reviews.llvm.org/D22377

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22377.65624.patch
Type: text/x-patch
Size: 5746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/f5b298f6/attachment.bin>


More information about the llvm-commits mailing list