Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes
authorChris Lattner <sabre@nondot.org>
Mon, 24 Oct 2005 01:40:23 +0000 (01:40 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 24 Oct 2005 01:40:23 +0000 (01:40 +0000)
code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23931 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ADCE.cpp

index 65e816e2e81142743f0b85e5baee232369b3d5c5..488f494b4b47cb21f505858fdefc291cb584ba3b 100644 (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");