commit | efb9fbfdab6cab88146792a5db79315313270c7f | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue May 12 01:27:58 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue May 12 01:27:58 2009 +0000 |
tree | c876f192e8aa148006478913ebf98fcf056976d4 | |
parent | 42a5875e107a5dea72745574b0215d9bcdf6deb4 [diff] |
When forgetting SCEVs for loop PHIs, don't forget SCEVUnknown values. These values aren't analyzable, so they don't care if more information about the loop trip count can be had. Also, SCEVUnknown is used for a PHI while the PHI itself is being analyzed, so it needs to be left in the Scalars map. This fixes a variety of subtle issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71533 91177308-0d34-0410-b5e6-96231b3b80d8