diff options
| author | Dan Gohman <gohman@apple.com> | 2009-12-11 20:05:23 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-12-11 20:05:23 +0000 |
| commit | 050959cd08db6c0efb8208271a1d64ce58893e20 (patch) | |
| tree | 53ad47d72a8d218149180c46d19f401a05e78b60 /include | |
| parent | a4f9cc4e55fa12ddff95c2e9d0091077797f0b22 (diff) | |
Make getUniqueExitBlocks's precondition assert more precise, to
avoid spurious failures. This fixes PR5758.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index 9969d999e1..7419cdc444 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -568,7 +568,7 @@ public: /// getUniqueExitBlocks - Return all unique successor blocks of this loop. /// These are the blocks _outside of the current loop_ which are branched to. - /// This assumes that loop is in canonical form. + /// This assumes that loop exits are in canonical form. /// void getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const; |
