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 | 492d4a9d849ff7116aa42a42d0e67cfaf523635b (patch) | |
tree | 07992926851cca95aba3fe174f1f1c9eced9f483 /lib/Transforms | |
parent | aafbaaa204c851946b453efd9d29c192c336894f (diff) |
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/ADCE.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 65e816e2e8..488f494b4b 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/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"); |