Updating the comments above SplitFunctionsOutOfModule in ExtractFunction.cpp to refle...
authorPatrick Jenkins <pjenkins@apple.com>
Fri, 28 Jul 2006 18:03:01 +0000 (18:03 +0000)
committerPatrick Jenkins <pjenkins@apple.com>
Fri, 28 Jul 2006 18:03:01 +0000 (18:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29385 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/ExtractFunction.cpp

index 25071518815f0e4f2559d4e63dcb7727f2af7a2f..d451b441f900d72fcf1182516065467fc25ba7be 100644 (file)
@@ -312,11 +312,6 @@ static void RewriteUsesInNewModule(Constant *OrigVal, Constant *NewVal,
 /// SplitFunctionsOutOfModule - Given a module and a list of functions in the
 /// module, split the functions OUT of the specified module, and place them in
 /// the new module.
-///
-/// FIXME: this could be made DRAMATICALLY more efficient for large programs if
-/// we just MOVED functions from one module to the other, instead of cloning the
-/// whole module, then proceeding to delete an entire module's worth of stuff.
-///
 Module *llvm::SplitFunctionsOutOfModule(Module *M,
                                         const std::vector<Function*> &F) {
   // Make sure functions & globals are all external so that linkage