summaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackColoring.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-13 14:51:00 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-13 14:51:00 +0000
commitfaf31d01db913b477b749c9f11f18a9471c0a672 (patch)
tree75e1bb33a60a0095a872e665d8cb1248164de696 /lib/CodeGen/StackColoring.cpp
parent032dbee2a9d401ee05beb648465f21168e279bda (diff)
downloadllvm-faf31d01db913b477b749c9f11f18a9471c0a672.tar.gz
llvm-faf31d01db913b477b749c9f11f18a9471c0a672.tar.bz2
llvm-faf31d01db913b477b749c9f11f18a9471c0a672.tar.xz
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackColoring.cpp')
-rw-r--r--lib/CodeGen/StackColoring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/StackColoring.cpp b/lib/CodeGen/StackColoring.cpp
index 1a7801abd8..832d4d1ca5 100644
--- a/lib/CodeGen/StackColoring.cpp
+++ b/lib/CodeGen/StackColoring.cpp
@@ -577,7 +577,7 @@ void StackColoring::removeInvalidSlotRanges() {
// read or write. Memory accesses outside of the lifetime zone are a clear
// violation, but address calculations are okay. This can happen when
// GEPs are hoisted outside of the lifetime zone.
- // So, in here we only check instrucitons which can read or write memory.
+ // So, in here we only check instructions which can read or write memory.
if (!I->mayLoad() && !I->mayStore())
continue;