summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-10-23 14:39:22 +0000
committerJim Laskey <jlaskey@mac.com>2006-10-23 14:39:22 +0000
commitbd7a1d2b4dddd41821c8d2143a7d22ebc855e712 (patch)
treea10deb539b9e6055fb6ff599f62f304b50200710 /llvm/lib/Analysis
parent7838d655ca12b301a152f095d668ba0aff207a38 (diff)
downloadbcm5719-llvm-bd7a1d2b4dddd41821c8d2143a7d22ebc855e712.tar.gz
bcm5719-llvm-bd7a1d2b4dddd41821c8d2143a7d22ebc855e712.zip
[SU]int update - inactive code may get activated someday
llvm-svn: 31128
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/DataStructure/Local.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp
index c5c68b3a692..f0bb22c3bc9 100644
--- a/llvm/lib/Analysis/DataStructure/Local.cpp
+++ b/llvm/lib/Analysis/DataStructure/Local.cpp
@@ -419,7 +419,7 @@ void GraphBuilder::visitGetElementPtrInst(User &GEP) {
#if 0
if (const SequentialType *STy = cast<SequentialType>(*I)) {
CurTy = STy->getElementType();
- if (ConstantSInt *CS = dyn_cast<ConstantSInt>(GEP.getOperand(i))) {
+ if (ConstantInt *CS = dyn_cast<ConstantInt>(GEP.getOperand(i))) {
Offset += CS->getValue()*TD.getTypeSize(CurTy);
} else {
// Variable index into a node. We must merge all of the elements of the
OpenPOWER on IntegriCloud