OSDN Git Service

Reapplying r278731 after fixing the problem that caused it to be reverted.
authorDavid L Kreitzer <david.l.kreitzer@intel.com>
Fri, 16 Sep 2016 14:38:13 +0000 (14:38 +0000)
committerDavid L Kreitzer <david.l.kreitzer@intel.com>
Fri, 16 Sep 2016 14:38:13 +0000 (14:38 +0000)
commitcd01b58518cb6f850b4c7faa8f5b2e8e62886147
treed09742d1bfe3136ba7406d04c203994f8168cb01
parent00577699618db7d9f22aa53670062246d096f291
Reapplying r278731 after fixing the problem that caused it to be reverted.

Enhance SCEV to compute the trip count for some loops with unknown stride.

Patch by Pankaj Chawla

Differential Revision: https://reviews.llvm.org/D22377

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281732 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll [new file with mode: 0644]