forked from OSchip/llvm-project
Reg2Mem is something a pass may depend on, so allow that
llvm-svn: 24488
This commit is contained in:
parent
71b09bbb07
commit
061029dee2
|
@ -168,6 +168,7 @@ FunctionPass *createPromoteMemoryToRegisterPass();
|
|||
// In basically undoes the PromoteMemoryToRegister pass to
|
||||
// make cfg hacking easier.
|
||||
FunctionPass *createDemoteRegisterToMemoryPass();
|
||||
extern const PassInfo *DemoteRegisterToMemoryID;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -80,6 +80,7 @@ namespace {
|
|||
|
||||
// createDemoteRegisterToMemory - Provide an entry point to create this pass.
|
||||
//
|
||||
const PassInfo *llvm::DemoteRegisterToMemoryID = X.getPassInfo();
|
||||
FunctionPass *llvm::createDemoteRegisterToMemoryPass() {
|
||||
return new RegToMem();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue