Fix typo.

llvm-svn: 100609
This commit is contained in:
Evan Cheng 2010-04-07 05:59:12 +00:00
parent 122572e13a
commit eb32efa3b6

View File

@ -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);
}