Add a missing break, which caused a crash in an obscure situation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12825 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-04-11 01:29:30 +00:00
parent adb7c0de39
commit a0ae8196a1

View File

@ -685,6 +685,7 @@ static Instruction::BinaryOps evaluateRelation(const Constant *V1,
CE1->getType()->isLosslesslyConvertibleTo(CE1Op0->getType()))
return evaluateRelation(CE1Op0,
Constant::getNullValue(CE1Op0->getType()));
break;
case Instruction::GetElementPtr:
// Ok, since this is a getelementptr, we know that the constant has a