OSDN Git Service

When ScalarEvolution is told to forget the trip count for a loop, have
authorDan Gohman <gohman@apple.com>
Sat, 2 May 2009 17:43:35 +0000 (17:43 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 2 May 2009 17:43:35 +0000 (17:43 +0000)
commitfb7d35f22a958747dd3ae8861ae3ce018146131c
tree2c369a2c19a647521d83d77975a70ca4fc0ceb44
parent9a936502fa7ffa8d8dd4f61354b9247908ab63b5
When ScalarEvolution is told to forget the trip count for a loop, have
it also forget any SCEVs associated with loop-header PHIs in the loop,
as they may be dependent on trip count information.

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