Fixed typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278565 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David L Kreitzer 2016-08-12 21:06:53 +00:00
parent 9d016efde2
commit 43fb2934be

View File

@ -1539,7 +1539,7 @@ static Value *isSafeToSpeculateStore(Instruction *I, BasicBlock *BrBB,
continue;
--MaxNumInstToLookAt;
// Could be calling an instruction that effects memory like free().
// Could be calling an instruction that affects memory like free().
if (CurI.mayHaveSideEffects() && !isa<StoreInst>(CurI))
return nullptr;