[llvm-commits] CVS: llvm/include/llvm/CodeGen/Passes.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Oct 2 11:58:02 PDT 2003


Changes in directory llvm/include/llvm/CodeGen:

Passes.h updated: 1.6 -> 1.7

---
Log message:

Moved enum and command-line option in separate file. Also added function that returns the user selected register allocator to the caller.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/Passes.h
diff -u llvm/include/llvm/CodeGen/Passes.h:1.6 llvm/include/llvm/CodeGen/Passes.h:1.7
--- llvm/include/llvm/CodeGen/Passes.h:1.6	Thu Oct  2 01:13:18 2003
+++ llvm/include/llvm/CodeGen/Passes.h	Thu Oct  2 11:57:49 2003
@@ -19,7 +19,9 @@
 //
 extern const PassInfo *PHIEliminationID;
 
-enum RegAllocName { simple, local };
+/// Creates a register allocator as the user specified on the command
+/// line.
+FunctionPass *createRegisterAllocator();
 
 /// SimpleRegisterAllocation Pass - This pass converts the input machine code
 /// from SSA form to use explicit registers by spilling every register.  Wow,





More information about the llvm-commits mailing list