Fixed typo.
authorDavid L Kreitzer <david.l.kreitzer@intel.com>
Fri, 12 Aug 2016 21:06:53 +0000 (21:06 +0000)
committerDavid L Kreitzer <david.l.kreitzer@intel.com>
Fri, 12 Aug 2016 21:06:53 +0000 (21:06 +0000)
llvm-svn: 278565

llvm/lib/Transforms/Utils/SimplifyCFG.cpp

index eae2b33..e88d7eb 100644 (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;