Unbreak the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51217 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2008-05-17 09:05:22 +00:00
parent d24ae8703f
commit 6cccce3e58

View File

@ -1036,7 +1036,7 @@ static ICmpInst::Predicate evaluateICmpRelation(const Constant *V1,
if (CE1->getOpcode() == CE2->getOpcode()) { if (CE1->getOpcode() == CE2->getOpcode()) {
Constant *Op1 = const_cast<Constant*>(CE1Op0); Constant *Op1 = const_cast<Constant*>(CE1Op0);
Constant *Op2 = CE2->getOperand(0); Constant *Op2 = CE2->getOperand(0);
if (CE1Op->getType() == CE2Op->getType()) { if (Op1->getType() == Op2->getType()) {
ConstantInt *R = 0; ConstantInt *R = 0;
ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; ICmpInst::Predicate pred = ICmpInst::ICMP_EQ;