Add a comment.
authorDan Gohman <gohman@apple.com>
Wed, 2 Sep 2009 01:14:16 +0000 (01:14 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 2 Sep 2009 01:14:16 +0000 (01:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80749 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/BasicBlock.h

index 3f535076eaa39ff4bf5867f9b43144e65db34313..b497827fd6950fde52b8777e22abf9978783f959 100644 (file)
@@ -231,6 +231,9 @@ public:
   /// cause a degenerate basic block to be formed, having a terminator inside of
   /// the basic block).
   ///
+  /// Also note that this doesn't preserve any passes. To split blocks while
+  /// keeping loop information consistent, use the SplitBlock utility function.
+  ///
   BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = "");
 };