[llvm-commits] [llvm] r65159 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Dan Gohman
gohman at apple.com
Fri Feb 20 13:06:57 PST 2009
Author: djg
Date: Fri Feb 20 15:06:57 2009
New Revision: 65159
URL: http://llvm.org/viewvc/llvm-project?rev=65159&view=rev
Log:
Fix 80-column violations.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=65159&r1=65158&r2=65159&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Fri Feb 20 15:06:57 2009
@@ -1644,8 +1644,9 @@
}
}
-/// 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 @@
// 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(),
More information about the llvm-commits
mailing list