aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPatrick Jenkins <pjenkins@apple.com>2006-07-28 18:03:01 +0000
committerPatrick Jenkins <pjenkins@apple.com>2006-07-28 18:03:01 +0000
commit68b163059d7c3e28744892739018f14b304e4a59 (patch)
tree6f5738d2af4cfe13b7374d2ce937d285df7c4a1f /tools
parent0d72a20630ebde26c302518077a28c9faffbd747 (diff)
downloadexternal_llvm-68b163059d7c3e28744892739018f14b304e4a59.zip
external_llvm-68b163059d7c3e28744892739018f14b304e4a59.tar.gz
external_llvm-68b163059d7c3e28744892739018f14b304e4a59.tar.bz2
Updating the comments above SplitFunctionsOutOfModule in ExtractFunction.cpp to reflect the changes made to that function. Specifically I am removing the FIXME comment because the issue has been addressed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/ExtractFunction.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp
index 2507151..d451b44 100644
--- a/tools/bugpoint/ExtractFunction.cpp
+++ b/tools/bugpoint/ExtractFunction.cpp
@@ -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