[llvm] r212424 - fixed typos in comments

Sanjay Patel spatel at rotateright.com
Sun Jul 6 16:24:54 PDT 2014


Author: spatel
Date: Sun Jul  6 18:24:53 2014
New Revision: 212424

URL: http://llvm.org/viewvc/llvm-project?rev=212424&view=rev
Log:
fixed typos in comments

Modified:
    llvm/trunk/lib/Analysis/ValueTracking.cpp

Modified: llvm/trunk/lib/Analysis/ValueTracking.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ValueTracking.cpp?rev=212424&r1=212423&r2=212424&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ValueTracking.cpp (original)
+++ llvm/trunk/lib/Analysis/ValueTracking.cpp Sun Jul  6 18:24:53 2014
@@ -1984,7 +1984,7 @@ bool llvm::isSafeToSpeculativelyExecute(
     return true;
   case Instruction::UDiv:
   case Instruction::URem:
-    // x / y is undefined if y == 0, but calcuations like x / 3 are safe.
+    // x / y is undefined if y == 0, but calculations like x / 3 are safe.
     return isKnownNonZero(Inst->getOperand(1), TD);
   case Instruction::SDiv:
   case Instruction::SRem: {
@@ -2012,7 +2012,7 @@ bool llvm::isSafeToSpeculativelyExecute(
   case Instruction::Call: {
    if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
      switch (II->getIntrinsicID()) {
-       // These synthetic intrinsics have no side-effects, and just mark
+       // These synthetic intrinsics have no side-effects and just mark
        // information about their operands.
        // FIXME: There are other no-op synthetic instructions that potentially
        // should be considered at least *safe* to speculate...





More information about the llvm-commits mailing list