diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-13 23:50:59 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-13 23:50:59 +0000 |
commit | 8be68a3a8cd70654c707b6a477a763daad123a6e (patch) | |
tree | 5c41e721e23dbe0259457b526c82a3f74be127a6 /lib/Analysis/ScalarEvolution.cpp | |
parent | 39f8990394e704c80719de78a636d3b2ea1eaa34 (diff) | |
download | external_llvm-8be68a3a8cd70654c707b6a477a763daad123a6e.zip external_llvm-8be68a3a8cd70654c707b6a477a763daad123a6e.tar.gz external_llvm-8be68a3a8cd70654c707b6a477a763daad123a6e.tar.bz2 |
Move more functionality over to LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 7c3246d..0152a9f 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -1722,7 +1722,7 @@ const SCEV *ScalarEvolution::getUDivExpr(const SCEV *LHS, if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { Constant *LHSCV = LHSC->getValue(); Constant *RHSCV = RHSC->getValue(); - return getConstant(cast<ConstantInt>(ConstantExpr::getUDiv(LHSCV, + return getConstant(cast<ConstantInt>(Context->getConstantExprUDiv(LHSCV, RHSCV))); } } |