summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-10 08:51:46 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-10 08:51:46 +0000
commit2f41ff93e681a138e5503c993bbdef6043ab433b (patch)
tree212d53804a4c8e636c9e4c415662daed4d96152d /llvm/lib/CodeGen
parent28e6f8c1fc5e9f4de6a999dba37a06ec727ad0bf (diff)
downloadbcm5719-llvm-2f41ff93e681a138e5503c993bbdef6043ab433b.tar.gz
bcm5719-llvm-2f41ff93e681a138e5503c993bbdef6043ab433b.zip
Fix a typo in the comment.
llvm-svn: 163496
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/StackColoring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/StackColoring.cpp b/llvm/lib/CodeGen/StackColoring.cpp
index 9d807bbdd88..b0cbda827ce 100644
--- a/llvm/lib/CodeGen/StackColoring.cpp
+++ b/llvm/lib/CodeGen/StackColoring.cpp
@@ -496,8 +496,8 @@ void StackColoring::remapInstructions(DenseMap<int, int> &SlotRemap) {
if (!SlotRemap.count(FromSlot))
continue;
- // In a debug build, check that the instruction that we are check is
- // inside its expected live range. If the instruction is not inside
+ // In a debug build, check that the instruction that we are modifying is
+ // inside the expected live range. If the instruction is not inside
// the calculated range then it means that the alloca usage moved
// outside of the lifetime markers.
#ifndef NDEBUG
OpenPOWER on IntegriCloud