From d0c0bc502e34b54c6349c9d8a8b11e12526bbdaa Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 7 Sep 2006 08:36:28 +0000 Subject: [PATCH] Fixed my rotten Engrish grammar. llvm-svn: 30144 --- llvm/docs/CodeGenerator.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/docs/CodeGenerator.html b/llvm/docs/CodeGenerator.html index 3e965af27939..ea3b5d95982c 100644 --- a/llvm/docs/CodeGenerator.html +++ b/llvm/docs/CodeGenerator.html @@ -1168,9 +1168,9 @@ SelectionDAGs.

Live Intervals are the ranges (intervals) where a variable is live. They are used by some register allocator passes to -determine if two or more virtual registers which require the same register are -live at the same point in the program (conflict). When this situation occurs, -one virtual register must be spilled.

+determine if two or more virtual registers which require the same physical +register are live at the same point in the program (i.e., theyconflict). When +this situation occurs, one virtual register must be spilled.

@@ -1186,10 +1186,10 @@ calculate the set of registers that are immediately dead after the instruction (i.e., the instruction calculates the value, but it is never used) and the set of registers that are used by the instruction, but are never used after the instruction (i.e., they are killed). Live -variable information is computed for each virtual and +variable information is computed for each virtual register and register allocatable physical register in the function. This is done in a very efficient manner because it uses SSA to sparsely -computer lifetime information for virtual registers (which are in SSA +compute lifetime information for virtual registers (which are in SSA form) and only has to track physical registers within a block. Before register allocation, LLVM can assume that physical registers are only live within a single basic block. This allows it to do a single, @@ -1200,7 +1200,7 @@ a stack pointer or condition codes), it is not tracked.

Physical registers may be live in to or out of a function. Live in values are typically arguments in registers. Live out values are typically return values in registers. Live in values are marked as such, and are given a dummy -"defining" instruction during live interval analysis. If the last basic block +"defining" instruction during live intervals analysis. If the last basic block of a function is a return, then it's marked as using all live out values in the function.