From 076277763d337e3939f0f98d157dc3d360c40da7 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 2 Sep 2009 01:14:16 +0000 Subject: [PATCH] Add a comment. llvm-svn: 80749 --- include/llvm/BasicBlock.h | 3 +++ 1 file changed, 3 insertions(+) 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 = ""); };