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
This commit is contained in:
Chris Lattner 2005-10-24 01:40:23 +00:00
parent aafbaaa204
commit 492d4a9d84

View File

@ -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");