Begin adding static dependence information to passes, which will allow us to
[oota-llvm.git] / lib / Transforms / Scalar / BasicBlockPlacement.cpp
index 69d1a7e15d0f189cc502627aba947978bb31c035..1ba81598f05d22ac144ec20fdca84d6388ccc54c 100644 (file)
@@ -74,7 +74,10 @@ namespace {
 }
 
 char BlockPlacement::ID = 0;
-INITIALIZE_PASS(BlockPlacement, "block-placement",
+INITIALIZE_PASS_BEGIN(BlockPlacement, "block-placement",
+                "Profile Guided Basic Block Placement", false, false)
+INITIALIZE_AG_DEPENDENCY(ProfileInfo)
+INITIALIZE_PASS_END(BlockPlacement, "block-placement",
                 "Profile Guided Basic Block Placement", false, false)
 
 FunctionPass *llvm::createBlockPlacementPass() { return new BlockPlacement(); }