Skip to content
Commit ae451600 authored by Dan Gohman's avatar Dan Gohman
Browse files

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.

llvm-svn: 71533
parent d6c04461
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment