mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Reg2Mem is something a pass may depend on, so allow that
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7045f6c56e
commit
7c0c567058
@ -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
Block a user