diff options
author | Andrew Trick <atrick@apple.com> | 2011-08-03 23:45:50 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-08-03 23:45:50 +0000 |
commit | 882bcc662d389211cdfc7e2c108a60b7a03128d1 (patch) | |
tree | 19b832e90a778a69b96b05bff7b7a2e8149c20bb /lib/Analysis/LoopInfo.cpp | |
parent | 79513ed8598bd5ebc25b0764961f326d34aaf388 (diff) |
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopInfo.cpp')
-rw-r--r-- | lib/Analysis/LoopInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index 05831402f4..cfe71d18a4 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -55,12 +55,12 @@ bool Loop::isLoopInvariant(Value *V) const { } /// hasLoopInvariantOperands - Return true if all the operands of the -/// specified instruction are loop invariant. +/// specified instruction are loop invariant. bool Loop::hasLoopInvariantOperands(Instruction *I) const { for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) if (!isLoopInvariant(I->getOperand(i))) return false; - + return true; } @@ -110,7 +110,7 @@ bool Loop::makeLoopInvariant(Instruction *I, bool &Changed, for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) if (!makeLoopInvariant(I->getOperand(i), Changed, InsertPt)) return false; - + // Hoist. I->moveBefore(InsertPt); Changed = true; |