From: Alkis Evlogimenos Date: Sun, 4 Jan 2004 23:09:24 +0000 (+0000) Subject: Update description. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=50c047d159a7f6d9a22e17178576c7ac5178356a;p=oota-llvm.git Update description. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10681 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 7bd3f04beeb..41b3cbd8ed1 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 // //===----------------------------------------------------------------------===//