From: Dan Gohman Date: Wed, 2 Sep 2009 01:14:16 +0000 (+0000) Subject: Add a comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dc404a23ca92d6a4a58b693fc0234a617539600e;p=oota-llvm.git Add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80749 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 3f535076eaa..b497827fd69 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -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 = ""); };