[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 23 18:40:34 PDT 2005



Changes in directory llvm/lib/Transforms/Scalar:

ADCE.cpp updated: 1.93 -> 1.94
---
Log message:

Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes
code


---
Diffs of the changes:  (+2 -0)

 ADCE.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Transforms/Scalar/ADCE.cpp
diff -u llvm/lib/Transforms/Scalar/ADCE.cpp:1.93 llvm/lib/Transforms/Scalar/ADCE.cpp:1.94
--- llvm/lib/Transforms/Scalar/ADCE.cpp:1.93	Sat May 14 07:25:31 2005
+++ llvm/lib/Transforms/Scalar/ADCE.cpp	Sun Oct 23 20:40:23 2005
@@ -29,6 +29,8 @@
 #include <algorithm>
 using namespace llvm;
 
+static IncludeFile X((void*)createUnifyFunctionExitNodesPass);
+
 namespace {
   Statistic<> NumBlockRemoved("adce", "Number of basic blocks removed");
   Statistic<> NumInstRemoved ("adce", "Number of instructions removed");






More information about the llvm-commits mailing list