projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aafbaaa
)
Make sure that anything using the ADCE pass pulls in the UnifyFunctionExitNodes
author
Chris Lattner
<sabre@nondot.org>
Mon, 24 Oct 2005 01:40:23 +0000
(
01:40
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ADCE.cpp
b/lib/Transforms/Scalar/ADCE.cpp
index 65e816e2e81142743f0b85e5baee232369b3d5c5..488f494b4b47cb21f505858fdefc291cb584ba3b 100644
(file)
--- 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");