summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineLICM.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-04-07 05:59:12 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-04-07 05:59:12 +0000
commit348856e56a247c9815986be51565551394f9e9c2 (patch)
tree516c320086412e858d176b33da291c2e454173bd /lib/CodeGen/MachineLICM.cpp
parentcf9a415182aca6a432105a2a12168e1049de180a (diff)
downloadllvm-348856e56a247c9815986be51565551394f9e9c2.tar.gz
llvm-348856e56a247c9815986be51565551394f9e9c2.tar.bz2
llvm-348856e56a247c9815986be51565551394f9e9c2.tar.xz
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineLICM.cpp')
-rw-r--r--lib/CodeGen/MachineLICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp
index 35cd6d6421..72f7d4549c 100644
--- a/lib/CodeGen/MachineLICM.cpp
+++ b/lib/CodeGen/MachineLICM.cpp
@@ -295,7 +295,7 @@ void MachineLICM::HoistRegionPostRA(MachineDomTreeNode *N) {
// If MI is a store to a stack slot, remember the slot. An instruction
// loads from this slot cannot be a LICM candidate.
- if (SkipCheck && TII->isStoreToStackSlot(MI, FI))
+ if (!SkipCheck && TII->isStoreToStackSlot(MI, FI))
StoredFIs.insert(FI);
}