diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-24 01:40:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-24 01:40:23 +0000 |
commit | bd77fac034cb6ec4bf30d5e1067da29f610c9629 (patch) | |
tree | d48ec1bbe82b55a10ab13dd14f460a8142cb4ca1 /llvm/lib/Transforms/Scalar/ADCE.cpp | |
parent | 8788942988707cc97daf15b0c381ee7ec7e6644b (diff) | |
download | bcm5719-llvm-bd77fac034cb6ec4bf30d5e1067da29f610c9629.tar.gz bcm5719-llvm-bd77fac034cb6ec4bf30d5e1067da29f610c9629.zip |
Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes
code
llvm-svn: 23931
Diffstat (limited to 'llvm/lib/Transforms/Scalar/ADCE.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/ADCE.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp index 65e816e2e81..488f494b4b4 100644 --- a/llvm/lib/Transforms/Scalar/ADCE.cpp +++ b/llvm/lib/Transforms/Scalar/ADCE.cpp @@ -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"); |