[llvm-commits] CVS: llvm/lib/Transforms/Utils/CloneFunction.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Nov 19 16:05:01 PST 2002


Changes in directory llvm/lib/Transforms/Utils:

CloneFunction.cpp updated: 1.8 -> 1.9

---
Log message:

Fix two fixmes: integrate with inlining, and document


---
Diffs of the changes:

Index: llvm/lib/Transforms/Utils/CloneFunction.cpp
diff -u llvm/lib/Transforms/Utils/CloneFunction.cpp:1.8 llvm/lib/Transforms/Utils/CloneFunction.cpp:1.9
--- llvm/lib/Transforms/Utils/CloneFunction.cpp:1.8	Tue Nov 19 15:54:07 2002
+++ llvm/lib/Transforms/Utils/CloneFunction.cpp	Tue Nov 19 16:04:49 2002
@@ -1,14 +1,15 @@
-
-
-
-// FIXME: document
+//===- CloneFunction.cpp - Clone a function into another function ---------===//
+//
+// This file implements the CloneFunctionInto interface, which is used as the
+// low-level function cloner.  This is used by the CloneFunction and function
+// inliner to do the dirty work of copying the body of a function around.
+//
+//===----------------------------------------------------------------------===//
 
 #include "llvm/Transforms/Utils/Cloning.h"
 #include "llvm/iTerminators.h"
 #include "llvm/Function.h"
 #include <map>
-
-// FIXME: This should be merged with FunctionInlining
 
 // RemapInstruction - Convert the instruction operands from referencing the 
 // current values into those specified by ValueMap.





More information about the llvm-commits mailing list