aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-07-27 18:36:27 +0000
committerJim Grosbach <grosbach@apple.com>2010-07-27 18:36:27 +0000
commit977fa34df8b54595ff64157d0f4e5a14921669e8 (patch)
treeedc67abc7dd24bbc1c2addb3050b8667bdc36499 /lib/CodeGen
parent8b5749da2a05b5ea30a40ba95a32f8e3fb0535f8 (diff)
downloadexternal_llvm-977fa34df8b54595ff64157d0f4e5a14921669e8.zip
external_llvm-977fa34df8b54595ff64157d0f4e5a14921669e8.tar.gz
external_llvm-977fa34df8b54595ff64157d0f4e5a14921669e8.tar.bz2
Grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index 9919bb3..d10b5d6 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -255,9 +255,9 @@ namespace {
SmallVector<LiveInterval*, 8> &SpillIntervals);
/// attemptTrivialCoalescing - If a simple interval is defined by a copy,
- /// try allocate the definition the same register as the source register
- /// if the register is not defined during live time of the interval. This
- /// eliminate a copy. This is used to coalesce copies which were not
+ /// try to allocate the definition to the same register as the source,
+ /// if the register is not defined during the life time of the interval.
+ /// This eliminates a copy, and is used to coalesce copies which were not
/// coalesced away before allocation either due to dest and src being in
/// different register classes or because the coalescer was overly
/// conservative.