diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-01-04 23:09:24 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-01-04 23:09:24 +0000 |
commit | 50c047d159a7f6d9a22e17178576c7ac5178356a (patch) | |
tree | 4c9e5d232b0e0cb228235d7fa9b06015b1c1e9f5 /lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | a29b94dd5a34dfdf189a1c1712058ebaab745715 (diff) |
Update description.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | lib/CodeGen/TwoAddressInstructionPass.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 7bd3f04bee..41b3cbd8ed 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -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 // //===----------------------------------------------------------------------===// |