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

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Dec 18 16:41:09 PST 2003


Changes in directory llvm/include/llvm/CodeGen:

Passes.h updated: 1.10 -> 1.11
TwoAddressInstructionPass.h (r1.1) removed

---
Log message:

Remove TwoAddressInstruction from the public headers and add an ID
instead, since this pass doesn't expose any state to its users.


---
Diffs of the changes:  (+5 -0)

Index: llvm/include/llvm/CodeGen/Passes.h
diff -u llvm/include/llvm/CodeGen/Passes.h:1.10 llvm/include/llvm/CodeGen/Passes.h:1.11
--- llvm/include/llvm/CodeGen/Passes.h:1.10	Wed Nov 19 21:32:25 2003
+++ llvm/include/llvm/CodeGen/Passes.h	Thu Dec 18 16:40:24 2003
@@ -28,6 +28,11 @@
 //
 extern const PassInfo *PHIEliminationID;
 
+// TwoAddressInstruction pass - This pass reduces two-address
+// instructions to use two operands. This destroys SSA information but
+// it is desired by register allocators.
+extern const PassInfo *TwoAddressInstructionPassID;
+
 /// Creates a register allocator as the user specified on the command
 /// line.
 FunctionPass *createRegisterAllocator();





More information about the llvm-commits mailing list