mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -47,8 +47,6 @@ namespace {
|
||||
map<BasicBlock*,vector<PHINode*> > NewPhiNodes; // the PhiNodes we're adding
|
||||
|
||||
public:
|
||||
const char *getPassName() const { return "Promote Memory to Register"; }
|
||||
|
||||
// runOnFunction - To run this pass, first we calculate the alloca
|
||||
// instructions that are safe for promotion, then we promote each one.
|
||||
//
|
||||
@@ -68,6 +66,7 @@ namespace {
|
||||
void FindSafeAllocas(Function &F);
|
||||
};
|
||||
|
||||
RegisterPass<PromotePass> X("mem2reg", "Promote Memory to Register");
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@ using std::vector;
|
||||
|
||||
AnalysisID UnifyFunctionExitNodes::ID(AnalysisID::create<UnifyFunctionExitNodes>());
|
||||
|
||||
static RegisterPass<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
|
||||
|
||||
Reference in New Issue
Block a user