summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-09 02:16:18 +0000
committerChris Lattner <sabre@nondot.org>2011-01-09 02:16:18 +0000
commita337f5ec5c2b3bd8b0725641c69b508f5dc6f742 (patch)
tree1c661b4aa303e585e593997bddf77e9d6c8513cd /llvm/lib/Transforms
parent5d684c17a7bf7c81e955f651a1a8e0391d9499db (diff)
downloadbcm5719-llvm-a337f5ec5c2b3bd8b0725641c69b508f5dc6f742.tar.gz
bcm5719-llvm-a337f5ec5c2b3bd8b0725641c69b508f5dc6f742.zip
reduce indentation. Print <nuw> and <nsw> when dumping SCEV AddRec's
that have the bit set. llvm-svn: 123104
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index a439e02e254..0fb67982a3d 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -243,8 +243,7 @@ ICmpInst *IndVarSimplify::LinearFunctionTestReplace(Loop *L,
/// happen later, except that it's more powerful in some cases, because it's
/// able to brute-force evaluate arbitrary instructions as long as they have
/// constant operands at the beginning of the loop.
-void IndVarSimplify::RewriteLoopExitValues(Loop *L,
- SCEVExpander &Rewriter) {
+void IndVarSimplify::RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) {
// Verify the input to the pass in already in LCSSA form.
assert(L->isLCSSAForm(*DT));
@@ -348,7 +347,7 @@ void IndVarSimplify::RewriteNonIntegerIVs(Loop *L) {
// If there are, change them into integer recurrences, permitting analysis by
// the SCEV routines.
//
- BasicBlock *Header = L->getHeader();
+ BasicBlock *Header = L->getHeader();
SmallVector<WeakVH, 8> PHIs;
for (BasicBlock::iterator I = Header->begin();
OpenPOWER on IntegriCloud