[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Jun 24 23:13:06 PDT 2003
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.17 -> 1.18
---
Log message:
Add argument to DAE to allow operation on non-internal functions
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.17 llvm/include/llvm/Transforms/IPO.h:1.18
--- llvm/include/llvm/Transforms/IPO.h:1.17 Mon Jun 16 07:16:52 2003
+++ llvm/include/llvm/Transforms/IPO.h Tue Jun 24 23:12:29 2003
@@ -70,9 +70,12 @@
//===----------------------------------------------------------------------===//
// createDeadArgEliminationPass - This pass removes arguments from functions
-// which are not used by the body of the function.
+// which are not used by the body of the function. If
+// DeleteFromExternalFunctions is true, the pass will modify functions that have
+// external linkage, which is not usually safe (this is used by bugpoint to
+// reduce testcases).
//
-Pass *createDeadArgEliminationPass();
+Pass *createDeadArgEliminationPass(bool DeleteFromExternalFunctions=false);
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list