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 | 5e0e67173db72011cff3c9ad2d1e8962a45fd957 (patch) | |
| tree | 340508c541c3048f68e28aaf46caa490e3f255c4 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
| parent | 2c501eca03dca2c8f80ca5a826ae3af4a5df8b6e (diff) | |
| download | bcm5719-llvm-5e0e67173db72011cff3c9ad2d1e8962a45fd957.tar.gz bcm5719-llvm-5e0e67173db72011cff3c9ad2d1e8962a45fd957.zip | |
Update description.
llvm-svn: 10681
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 7bd3f04beeb..41b3cbd8ed1 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/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 // //===----------------------------------------------------------------------===// |

