diff options
author | Sanjay Patel <spatel@rotateright.com> | 2014-07-06 23:24:53 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2014-07-06 23:24:53 +0000 |
commit | 784a5a41e79169714bd640df2c3c062b6f11dc20 (patch) | |
tree | 92e493bd3c5bbdba897604a29c3090df99cc2bf0 /llvm/lib/Analysis/ValueTracking.cpp | |
parent | 0a2ada7b98ff1a4133120fa65e3a2f1e4551b3d2 (diff) | |
download | llvm-784a5a41e79169714bd640df2c3c062b6f11dc20.zip llvm-784a5a41e79169714bd640df2c3c062b6f11dc20.tar.gz llvm-784a5a41e79169714bd640df2c3c062b6f11dc20.tar.bz2 |
fixed typos in comments
llvm-svn: 212424
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 9de945e..e664454 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -1984,7 +1984,7 @@ bool llvm::isSafeToSpeculativelyExecute(const Value *V, 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(const Value *V, 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... |