Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.119 -> 1.120 --- Log message: Don't overload var names. --- Diffs of the changes: (+4 -4) ConstantFolding.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/VMCore/ConstantFolding.cpp diff -u llvm/lib/VMCore/ConstantFolding.cpp:1.119 llvm/lib/VMCore/ConstantFolding.cpp:1.120 --- llvm/lib/VMCore/ConstantFolding.cpp:1.119 Sat Dec 23 00:05:41 2006 +++ llvm/lib/VMCore/ConstantFolding.cpp Sat Dec 23 04:21:26 2006 @@ -883,11 +883,11 @@ // null pointer, do the comparison with the pre-casted value. if (V2->isNullValue() && (isa<PointerType>(CE1->getType()) || CE1->getType()->isIntegral())) { - bool isSigned = CE1->getOpcode() == Instruction::ZExt ? false : + bool sgnd = CE1->getOpcode() == Instruction::ZExt ? false : (CE1->getOpcode() == Instruction::SExt ? true : (CE1->getOpcode() == Instruction::PtrToInt ? false : isSigned)); return evaluateICmpRelation( - CE1Op0, Constant::getNullValue(CE1Op0->getType()), isSigned); + CE1Op0, Constant::getNullValue(CE1Op0->getType()), sgnd); } // If the dest type is a pointer type, and the RHS is a constantexpr cast @@ -898,11 +898,11 @@ if (CE2->isCast() && isa<PointerType>(CE1->getType()) && CE1->getOperand(0)->getType() == CE2->getOperand(0)->getType() && CE1->getOperand(0)->getType()->isIntegral()) { - bool isSigned = CE1->getOpcode() == Instruction::ZExt ? false : + bool sgnd = CE1->getOpcode() == Instruction::ZExt ? false : (CE1->getOpcode() == Instruction::SExt ? true : (CE1->getOpcode() == Instruction::PtrToInt ? false : isSigned)); return evaluateICmpRelation(CE1->getOperand(0), CE2->getOperand(0), - isSigned); + sgnd); } break; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits