OSDN Git Service

When extending the operands of an addrec, iterate through all
authorDan Gohman <gohman@apple.com>
Mon, 28 Sep 2009 21:01:47 +0000 (21:01 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 28 Sep 2009 21:01:47 +0000 (21:01 +0000)
commitf3f1be6f065d1b90afe80ca80c9d6473c10deb5a
tree66f177717cd65358fcfc81281c7cbf02b9b22175
parent18f0c263e65da094ef5ba49bb7f66f58cf1cbd0f
When extending the operands of an addrec, iterate through all
the operands, rather than trying to partition them into a start
and a step. This handles non-affine add recurrences correctly.

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