From bd77fac034cb6ec4bf30d5e1067da29f610c9629 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 24 Oct 2005 01:40:23 +0000 Subject: [PATCH] Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes code llvm-svn: 23931 --- llvm/lib/Transforms/Scalar/ADCE.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp index 65e816e2e811..488f494b4b47 100644 --- a/llvm/lib/Transforms/Scalar/ADCE.cpp +++ b/llvm/lib/Transforms/Scalar/ADCE.cpp @@ -29,6 +29,8 @@ #include using namespace llvm; +static IncludeFile X((void*)createUnifyFunctionExitNodesPass); + namespace { Statistic<> NumBlockRemoved("adce", "Number of basic blocks removed"); Statistic<> NumInstRemoved ("adce", "Number of instructions removed");