From 348856e56a247c9815986be51565551394f9e9c2 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 7 Apr 2010 05:59:12 +0000 Subject: [PATCH] Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100609 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineLICM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.34.1