diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-06 01:31:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-06 01:31:12 +0000 |
commit | 3d3238699280ec8ccd5c5579bc04a48229abe7ef (patch) | |
tree | a5fc416061c0489aecc8bda7bf72692bd1ea77aa /lib/Analysis/IVUsers.cpp | |
parent | 885d94143d0fc02fd5c4ddf1d2a2ee74c7934bff (diff) |
Add a const qualifier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IVUsers.cpp')
-rw-r--r-- | lib/Analysis/IVUsers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IVUsers.cpp b/lib/Analysis/IVUsers.cpp index 98a436f79b..47b5d4a0f0 100644 --- a/lib/Analysis/IVUsers.cpp +++ b/lib/Analysis/IVUsers.cpp @@ -142,7 +142,7 @@ static bool getSCEVStartAndStride(const SCEV *&SH, Loop *L, Loop *UseLoop, /// the loop, resulting in reg-reg copies (if we use the pre-inc value when we /// should use the post-inc value). static bool IVUseShouldUsePostIncValue(Instruction *User, Instruction *IV, - Loop *L, DominatorTree *DT) { + const Loop *L, DominatorTree *DT) { // If the user is in the loop, use the preinc value. if (L->contains(User)) return false; |