[llvm] r295750 - More comments for getUniqueExitBlocks. NFCI

Xin Tong via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 11:08:03 PST 2017


Author: trentxintong
Date: Tue Feb 21 13:08:03 2017
New Revision: 295750

URL: http://llvm.org/viewvc/llvm-project?rev=295750&view=rev
Log:
More comments for getUniqueExitBlocks. NFCI

Modified:
    llvm/trunk/include/llvm/Analysis/LoopInfo.h

Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=295750&r1=295749&r2=295750&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Tue Feb 21 13:08:03 2017
@@ -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.




More information about the llvm-commits mailing list