summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-20 21:06:57 +0000
committerDan Gohman <gohman@apple.com>2009-02-20 21:06:57 +0000
commit2c8cb5b4ec7487e763447dc8f9605bcf5077a734 (patch)
tree80282a27bcfb7507d7519e024ae59ecef48b39d4 /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
parenta2e2167c252ec27d53bd0164d957cd321eb7f7e5 (diff)
downloadbcm5719-llvm-2c8cb5b4ec7487e763447dc8f9605bcf5077a734.tar.gz
bcm5719-llvm-2c8cb5b4ec7487e763447dc8f9605bcf5077a734.zip
Fix 80-column violations.
llvm-svn: 65159
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index b03dcf4e66b..ab8afe10014 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -1644,8 +1644,9 @@ static void SortUsersToProcess(std::vector<BasedUser> &UsersToProcess) {
}
}
-/// PrepareToStrengthReduceFully - Prepare to fully strength-reduce UsersToProcess,
-/// meaning lowering addresses all the way down to direct pointer arithmetic.
+/// PrepareToStrengthReduceFully - Prepare to fully strength-reduce
+/// UsersToProcess, meaning lowering addresses all the way down to direct
+/// pointer arithmetic.
///
void
LoopStrengthReduce::PrepareToStrengthReduceFully(
@@ -1822,8 +1823,8 @@ void LoopStrengthReduce::StrengthReduceStridedIVUsers(const SCEVHandle &Stride,
// If all uses are addresses, check if it is possible to reuse an IV with a
// stride that is a factor of this stride. And that the multiple is a number
// that can be encoded in the scale field of the target addressing mode. And
- // that we will have a valid instruction after this substition, including the
- // immediate field, if any.
+ // that we will have a valid instruction after this substition, including
+ // the immediate field, if any.
RewriteFactor = CheckForIVReuse(HaveCommonExprs, AllUsesAreAddresses,
AllUsesAreOutsideLoop,
Stride, ReuseIV, CommonExprs->getType(),
OpenPOWER on IntegriCloud