commit | d13db2c59cc94162d6cf0a04187d408bfef6d4a7 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Jul 21 22:09:45 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Jul 21 22:09:45 2010 +0000 |
tree | 038f76abec58dcdf127487653ee3175dcbcc33d0 | |
parent | 07fdd897e2c4304b6f70345c488e97fd97374576 [diff] [blame] |
Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109045 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/LoopRotation.cpp b/lib/Transforms/Scalar/LoopRotation.cpp index 3134377..6fecbb3 100644 --- a/lib/Transforms/Scalar/LoopRotation.cpp +++ b/lib/Transforms/Scalar/LoopRotation.cpp
@@ -79,7 +79,7 @@ } char LoopRotate::ID = 0; -static RegisterPass<LoopRotate> X("loop-rotate", "Rotate Loops"); +INITIALIZE_PASS(LoopRotate, "loop-rotate", "Rotate Loops", false, false); Pass *llvm::createLoopRotatePass() { return new LoopRotate(); }