[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Wed Nov 9 17:58:50 PST 2005
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.58 -> 1.59
---
Log message:
The pass everyone has been waiting for!
Reg2Mem
for fun you can opt -reg2mem -mem2reg
---
Diffs of the changes: (+6 -0)
Scalar.h | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.58 llvm/include/llvm/Transforms/Scalar.h:1.59
--- llvm/include/llvm/Transforms/Scalar.h:1.58 Sat Nov 5 03:21:28 2005
+++ llvm/include/llvm/Transforms/Scalar.h Wed Nov 9 19:58:38 2005
@@ -162,6 +162,12 @@
//
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();
//===----------------------------------------------------------------------===//
//
More information about the llvm-commits
mailing list