From: Evan Cheng Date: Wed, 7 Apr 2010 05:59:12 +0000 (+0000) Subject: Fix typo. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=348856e56a247c9815986be51565551394f9e9c2;p=oota-llvm.git Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100609 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 35cd6d64215..72f7d4549c8 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); }