summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ExtractFunction.cpp
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
commit752d52cbb674633ae87230ca472d86b2a46686cd (patch)
tree9c4bbf59ad5688476480b15f3c39b529ad1c6dce /llvm/tools/bugpoint/ExtractFunction.cpp
parent8298265042b946a2720fc5b0fec301cbbf50b0c5 (diff)
downloadbcm5719-llvm-752d52cbb674633ae87230ca472d86b2a46686cd.tar.gz
bcm5719-llvm-752d52cbb674633ae87230ca472d86b2a46686cd.zip
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.
llvm-svn: 29385
Diffstat (limited to 'llvm/tools/bugpoint/ExtractFunction.cpp')
-rw-r--r--llvm/tools/bugpoint/ExtractFunction.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp
index 25071518815..d451b441f90 100644
--- a/llvm/tools/bugpoint/ExtractFunction.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud