Update description.
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 4 Jan 2004 23:09:24 +0000 (23:09 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 4 Jan 2004 23:09:24 +0000 (23:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10681 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TwoAddressInstructionPass.cpp

index 7bd3f04beeb2c04725605402746789aae1c7c151..41b3cbd8ed191853828e910ff0cbfc12b333ee9f 100644 (file)
@@ -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
 //
 //===----------------------------------------------------------------------===//