[llvm-commits] [SignlessTypes] CVS: llvm/lib/Analysis/DataStructure/Local.cpp
Reid Spencer
reid at x10sys.com
Wed Oct 25 18:58:37 PDT 2006
Changes in directory llvm/lib/Analysis/DataStructure:
Local.cpp updated: 1.154.2.1 -> 1.154.2.2
---
Log message:
Round 2 of DIV updates.
---
Diffs of the changes: (+1 -1)
Local.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Analysis/DataStructure/Local.cpp
diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.154.2.1 llvm/lib/Analysis/DataStructure/Local.cpp:1.154.2.2
--- llvm/lib/Analysis/DataStructure/Local.cpp:1.154.2.1 Wed Oct 18 22:57:55 2006
+++ llvm/lib/Analysis/DataStructure/Local.cpp Wed Oct 25 20:58:05 2006
@@ -419,7 +419,7 @@
#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
More information about the llvm-commits
mailing list