projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LICM.cpp
diff --git
a/lib/Transforms/Scalar/LICM.cpp
b/lib/Transforms/Scalar/LICM.cpp
index b964d7037ab51ae5f51592b99030f5bf741f5592..0f206698d5d9224dcf0f360f13be82e521416f7d 100644
(file)
--- a/
lib/Transforms/Scalar/LICM.cpp
+++ b/
lib/Transforms/Scalar/LICM.cpp
@@
-222,7
+222,7
@@
namespace {
}
char LICM::ID = 0;
-
static RegisterPass<LICM> X("licm", "Loop Invariant Code Motion"
);
+
INITIALIZE_PASS(LICM, "licm", "Loop Invariant Code Motion", false, false
);
Pass *llvm::createLICMPass() { return new LICM(); }