projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
937e87a
)
[SU]int update - inactive code may get activated someday
author
Jim Laskey
<jlaskey@mac.com>
Mon, 23 Oct 2006 14:39:22 +0000
(14:39 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Mon, 23 Oct 2006 14:39:22 +0000
(14:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31128
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Local.cpp
b/lib/Analysis/DataStructure/Local.cpp
index c5c68b3a692596cc8abeb93acde01909b4a0f75e..f0bb22c3bc9687225cf813adf62f9a3548151e12 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
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 (Constant
SInt *CS = dyn_cast<ConstantS
Int>(GEP.getOperand(i))) {
+ if (Constant
Int *CS = dyn_cast<Constant
Int>(GEP.getOperand(i))) {
Offset += CS->getValue()*TD.getTypeSize(CurTy);
} else {
// Variable index into a node. We must merge all of the elements of the