Changes in directory llvm/lib/Analysis:

ConstantRange.cpp updated: 1.29 -> 1.30
---
Log message:

Fix correlated exprs regressions


---
Diffs of the changes:  (+2 -2)

 ConstantRange.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Analysis/ConstantRange.cpp
diff -u llvm/lib/Analysis/ConstantRange.cpp:1.29 
llvm/lib/Analysis/ConstantRange.cpp:1.30
--- llvm/lib/Analysis/ConstantRange.cpp:1.29    Fri Jan 12 12:23:49 2007
+++ llvm/lib/Analysis/ConstantRange.cpp Sun Jan 14 19:02:34 2007
@@ -31,7 +31,7 @@
 using namespace llvm;
 
 static ConstantInt *getMaxValue(const Type *Ty, bool isSigned = false) {
-  if (Ty->isInteger()) {
+  if (Ty->isIntegral()) {
     if (isSigned) {
       // Calculate 011111111111111...
       unsigned TypeBits = Ty->getPrimitiveSizeInBits();
@@ -46,7 +46,7 @@
 
 // Static constructor to create the minimum constant for an integral type...
 static ConstantInt *getMinValue(const Type *Ty, bool isSigned = false) {
-  if (Ty->isInteger()) {
+  if (Ty->isIntegral()) {
     if (isSigned) {
       // Calculate 1111111111000000000000
       unsigned TypeBits = Ty->getPrimitiveSizeInBits();



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to