From: Chris Lattner Date: Mon, 24 Oct 2005 01:40:23 +0000 (+0000) Subject: Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=492d4a9d849ff7116aa42a42d0e67cfaf523635b;p=oota-llvm.git Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23931 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 65e816e2e81..488f494b4b4 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/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");