summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-04 02:43:51 +0000
committerDan Gohman <gohman@apple.com>2010-02-04 02:43:51 +0000
commit9946b5109c4073869f809a241f7b90bc25edb358 (patch)
treea398319a60b0ea2e8768f3f2cf5aaca0c31e1068 /llvm/lib/Analysis
parent9976832a05c850f7238fa6225b9a6ab7a5acf97d (diff)
downloadbcm5719-llvm-9946b5109c4073869f809a241f7b90bc25edb358.tar.gz
bcm5719-llvm-9946b5109c4073869f809a241f7b90bc25edb358.zip
Change the argument to getIntegerSCEV to be an int64_t, rather
than int. This will make it more convenient for LSR, which does a lot of things with int64_t offsets. llvm-svn: 95281
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 81928c1fe6f..1fb966132bd 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -2351,7 +2351,7 @@ const SCEV *ScalarEvolution::getSCEV(Value *V) {
/// getIntegerSCEV - Given a SCEVable type, create a constant for the
/// specified signed integer value and return a SCEV for the constant.
-const SCEV *ScalarEvolution::getIntegerSCEV(int Val, const Type *Ty) {
+const SCEV *ScalarEvolution::getIntegerSCEV(int64_t Val, const Type *Ty) {
const IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty));
return getConstant(ConstantInt::get(ITy, Val));
}
OpenPOWER on IntegriCloud