[llvm-commits] CVS: llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sun Jan 4 17:10:01 PST 2004
Changes in directory llvm/lib/CodeGen:
TwoAddressInstructionPass.cpp updated: 1.2 -> 1.3
---
Log message:
Update description.
---
Diffs of the changes: (+10 -5)
Index: llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff -u llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:1.2 llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:1.3
--- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:1.2 Thu Dec 18 16:40:23 2003
+++ llvm/lib/CodeGen/TwoAddressInstructionPass.cpp Sun Jan 4 17:09:24 2004
@@ -7,11 +7,16 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the LiveInterval analysis pass which is used
-// by the Linear Scan Register allocator. This pass linearizes the
-// basic blocks of the function in DFS order and uses the
-// LiveVariables pass to conservatively compute live intervals for
-// each virtual and physical register.
+// This file implements the TwoAddress instruction pass which is used
+// by most register allocators. Two-Address instructions are rewritten
+// from:
+//
+// A = B op C
+//
+// to:
+//
+// A = B
+// A = A op C
//
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list