diff options
| author | Dan Gohman <gohman@apple.com> | 2007-05-11 21:10:54 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-05-11 21:10:54 +0000 |
| commit | b5650ebd6a93adde6705d59bf803e728041e71fe (patch) | |
| tree | 8e09a88038c36302ccef57d16ec021d82dc13c90 /llvm/lib/Transforms | |
| parent | daff5ec052db31465c9d73fa007b0d04d23cdbdf (diff) | |
| download | bcm5719-llvm-b5650ebd6a93adde6705d59bf803e728041e71fe.tar.gz bcm5719-llvm-b5650ebd6a93adde6705d59bf803e728041e71fe.zip | |
Fix typos.
llvm-svn: 36994
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopRotation.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/Transforms/Utils/LCSSA.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 4c120799d5d..01385db6c14 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -6373,7 +6373,7 @@ Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { if (isa<UndefValue>(Src)) // cast undef -> undef return ReplaceInstUsesWith(CI, UndefValue::get(CI.getType())); - // Many cases of "cast of a cast" are eliminable. If its eliminable we just + // Many cases of "cast of a cast" are eliminable. If it's eliminable we just // eliminate it now. if (CastInst *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast if (Instruction::CastOps opc = diff --git a/llvm/lib/Transforms/Scalar/LoopRotation.cpp b/llvm/lib/Transforms/Scalar/LoopRotation.cpp index 9532bcf3285..6c44a9dd751 100644 --- a/llvm/lib/Transforms/Scalar/LoopRotation.cpp +++ b/llvm/lib/Transforms/Scalar/LoopRotation.cpp @@ -116,7 +116,7 @@ bool LoopRotate::runOnLoop(Loop *Lp, LPPassManager &LPM) { return RotatedOneLoop; } -/// Rotate loop LP. Return true if it loop is rotated. +/// Rotate loop LP. Return true if the loop is rotated. bool LoopRotate::rotateLoop(Loop *Lp, LPPassManager &LPM) { L = Lp; @@ -130,7 +130,7 @@ bool LoopRotate::rotateLoop(Loop *Lp, LPPassManager &LPM) { return false; assert (OrigHeader && OrigLatch && OrigPreHeader && - "Loop is not in cannocial form"); + "Loop is not in canonical form"); // If loop header is not one of the loop exit block then // either this loop is already rotated or it is not diff --git a/llvm/lib/Transforms/Utils/LCSSA.cpp b/llvm/lib/Transforms/Utils/LCSSA.cpp index 4cdafe79684..b51d7b51d36 100644 --- a/llvm/lib/Transforms/Utils/LCSSA.cpp +++ b/llvm/lib/Transforms/Utils/LCSSA.cpp @@ -12,7 +12,7 @@ // the left into the right code: // // for (...) for (...) -// if (c) if(c) +// if (c) if (c) // X1 = ... X1 = ... // else else // X2 = ... X2 = ... |

