Don't attempt to analyze values which are obviously undef. This fixes some
authorDan Gohman <gohman@apple.com>
Thu, 22 Apr 2010 01:35:11 +0000 (01:35 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 22 Apr 2010 01:35:11 +0000 (01:35 +0000)
commitddb3eafc32187af2ee2311a27344cb53d4307d63
treeaf6c45c6f40a50f01aad706ea62df8f681ca1737
parent0883355976328699815a7e3ef2efba2a9fd81e02
Don't attempt to analyze values which are obviously undef. This fixes some
assertion failures in extreme cases.

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