in findGCD of multiply expr return the gcd
authorSebastian Pop <spop@codeaurora.org>
Tue, 8 Apr 2014 21:21:05 +0000 (21:21 +0000)
committerSebastian Pop <spop@codeaurora.org>
Tue, 8 Apr 2014 21:21:05 +0000 (21:21 +0000)
commitd541e6e6eab2b00736ac84eca2c9aa679fd063bd
tree142e149eeca47d3026d0837bbde47462385e2a97
parent2300669d4181b1feeae416c14f3d96e8ff04b4df
in findGCD of multiply expr return the gcd

we used to return 1 instead of the gcd

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205800 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/Delinearization/gcd_multiply_expr.ll [new file with mode: 0644]