handle special cases when findGCD returns 1
authorSebastian Pop <spop@codeaurora.org>
Tue, 8 Apr 2014 21:21:10 +0000 (21:21 +0000)
committerSebastian Pop <spop@codeaurora.org>
Tue, 8 Apr 2014 21:21:10 +0000 (21:21 +0000)
commit89e11b110afa9af4bae5392791022b466ca96a5e
tree58e18c10817d948ca6ca0fe4f264e8aec3b8bad0
parentd541e6e6eab2b00736ac84eca2c9aa679fd063bd
handle special cases when findGCD returns 1

used to fail with 'Step should divide Start with no remainder.'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205801 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp