commit | 252ef7a61a9455c1e5d7b8a5a5f7ec8b3a75e200 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Fri Sep 02 21:20:46 2011 +0000 |
committer | Andrew Trick <atrick@apple.com> | Fri Sep 02 21:20:46 2011 +0000 |
tree | 204816c5ea4012cc8f535ea01b09922e868a4fd6 | |
parent | 271439053d583b39e128a06ed6122593d76b3164 [diff] [blame] |
Comment and clarifying assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139036 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 202e715..8859c3b 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp
@@ -4090,6 +4090,7 @@ else BECount = SE->getUMinFromMismatchedTypes(BECount, ENT->ExactNotTaken); } + assert(BECount && "Invalid not taken count for loop exit"); return BECount; }