Changes to support PHINode::removeIncoming changes
[oota-llvm.git] / lib / Transforms / Utils / UnifyFunctionExitNodes.cpp
index 9a65fcecf440d7dd0b983e19d8480b00fd91d175..3c522b53ab03e1300210a2ba8dcd12256eb0140b 100644 (file)
@@ -15,8 +15,8 @@
 #include "llvm/Type.h"
 using std::vector;
 
-AnalysisID UnifyFunctionExitNodes::ID(AnalysisID::create<UnifyFunctionExitNodes>());
-
+static RegisterOpt<UnifyFunctionExitNodes>
+X("mergereturn", "Unify function exit nodes");
 
 // UnifyAllExitNodes - Unify all exit nodes of the CFG by creating a new
 // BasicBlock, and converting all returns to unconditional branches to this