summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-02-21 19:08:03 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-02-21 19:08:03 +0000
commita05a6c101d5b0fed711ce65b956e80b5ea2a85fb (patch)
tree0816379baddc08ee000882c0321aafb5f6346ff5
parent11b2d7dad8bad9d6ca739e82d9364f34eb2a3d49 (diff)
downloadbcm5719-llvm-a05a6c101d5b0fed711ce65b956e80b5ea2a85fb.tar.gz
bcm5719-llvm-a05a6c101d5b0fed711ce65b956e80b5ea2a85fb.zip
More comments for getUniqueExitBlocks. NFCI
llvm-svn: 295750
-rw-r--r--llvm/include/llvm/Analysis/LoopInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/LoopInfo.h b/llvm/include/llvm/Analysis/LoopInfo.h
index c49ed784031..996794b660a 100644
--- a/llvm/include/llvm/Analysis/LoopInfo.h
+++ b/llvm/include/llvm/Analysis/LoopInfo.h
@@ -478,7 +478,8 @@ public:
/// 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 exits are in canonical form.
+ /// This assumes that loop exits are in canonical form, i.e. all exits are
+ /// dedicated exits.
void getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const;
/// If getUniqueExitBlocks would return exactly one block, return that block.
OpenPOWER on IntegriCloud