1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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

llvm-svn: 12825
This commit is contained in:
Chris Lattner 2004-04-11 01:29:30 +00:00
parent 777977bf2e
commit 226ea8166e

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