diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-14 18:26:16 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-14 18:26:16 +0000 |
commit | 4a9a3e53746e3cc752d8a242ddc887a106cf5021 (patch) | |
tree | 8707e374e475271d9f9dfd6786f5410d74d31d99 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | f7b37b2d0e28cd2f2ecc03e3e6e470353dca5725 (diff) |
Minor whitespace and comment cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index fbed3b3e38..4dc7d60b0c 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -430,7 +430,7 @@ static bool IVUseShouldUsePostIncValue(Instruction *User, Instruction *IV, bool LoopStrengthReduce::AddUsersIfInteresting(Instruction *I, Loop *L, SmallPtrSet<Instruction*,16> &Processed) { if (!I->getType()->isInteger() && !isa<PointerType>(I->getType())) - return false; // Void and FP expressions cannot be reduced. + return false; // Void and FP expressions cannot be reduced. if (!Processed.insert(I)) return true; // Instruction already handled. @@ -1072,7 +1072,7 @@ static bool PartitionByIsUseOfPostIncrementedValue(const BasedUser &Val) { return Val.isUseOfPostIncrementedValue; } -/// isNonConstantNegative - REturn true if the specified scev is negated, but +/// isNonConstantNegative - Return true if the specified scev is negated, but /// not a constant. static bool isNonConstantNegative(const SCEVHandle &Expr) { SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Expr); @@ -1367,7 +1367,7 @@ void LoopStrengthReduce::StrengthReduceStridedIVUsers(const SCEVHandle &Stride, // We want this constant emitted into the preheader! This is just // using cast as a copy so BitCast (no-op cast) is appropriate BaseV = new BitCastInst(BaseV, BaseV->getType(), "preheaderinsert", - PreInsertPt); + PreInsertPt); } } |