[llvm-commits] CVS: llvm/lib/Analysis/ConstantRange.cpp
    Chris Lattner 
    sabre at nondot.org
       
    Sun Jan 14 17:02:49 PST 2007
    
    
  
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();
    
    
More information about the llvm-commits
mailing list