projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp the loop unroller, extending it to correctly update PHI nodes
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineDominators.cpp
diff --git
a/lib/CodeGen/MachineDominators.cpp
b/lib/CodeGen/MachineDominators.cpp
index e343240ea2741570a276b88bfebbf41068f4e15a..8f6799362090e9a49d21c314b1b0a4d2af960a84 100644
(file)
--- a/
lib/CodeGen/MachineDominators.cpp
+++ b/
lib/CodeGen/MachineDominators.cpp
@@
-13,6
+13,7
@@
//===----------------------------------------------------------------------===//
#include "llvm/CodeGen/MachineDominators.h"
//===----------------------------------------------------------------------===//
#include "llvm/CodeGen/MachineDominators.h"
+#include "llvm/CodeGen/Passes.h"
using namespace llvm;
using namespace llvm;
@@
-20,5
+21,8
@@
TEMPLATE_INSTANTIATION(class DomTreeNodeBase<MachineBasicBlock>);
TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>);
char MachineDominatorTree::ID = 0;
TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>);
char MachineDominatorTree::ID = 0;
+
static RegisterPass<MachineDominatorTree>
E("machinedomtree", "MachineDominator Tree Construction", true);
static RegisterPass<MachineDominatorTree>
E("machinedomtree", "MachineDominator Tree Construction", true);
+
+const PassInfo *const llvm::MachineDominatorsID = &E;