The pass everyone has been waiting for!

Reg2Mem

for fun you can opt -reg2mem -mem2reg


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth
2005-11-10 01:58:38 +00:00
parent b8d172f800
commit 183119cdf6
2 changed files with 85 additions and 0 deletions

View File

@ -162,6 +162,12 @@ FunctionPass *createLoopUnrollPass();
//
FunctionPass *createPromoteMemoryToRegisterPass();
//===----------------------------------------------------------------------===//
//
// This pass is used to demote registers to memory references .
// In basically undoes the PromoteMemoryToRegister pass to
// make cfg hacking easier.
FunctionPass *createDemoteRegisterToMemoryPass();
//===----------------------------------------------------------------------===//
//