Reapply r140979 with fix! We never did get a testcase, but careful review of the
authorNick Lewycky <nicholas@mxc.ca>
Mon, 3 Oct 2011 07:10:45 +0000 (07:10 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 3 Oct 2011 07:10:45 +0000 (07:10 +0000)
commit1cbae18cf60c023840aab605958eea635c837f16
tree67a37d875940fb03401c676b053ccfd557c257ad
parent48488a64fadb2f99706029e51ae4c06fcfac5cdb
Reapply r140979 with fix! We never did get a testcase, but careful review of the
logic by David Meyer revealed this bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140992 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/max-trip-count.ll