mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Add a missing break, which caused a crash in an obscure situation
llvm-svn: 12825
This commit is contained in:
parent
777977bf2e
commit
226ea8166e
@ -685,6 +685,7 @@ static Instruction::BinaryOps evaluateRelation(const Constant *V1,
|
|||||||
CE1->getType()->isLosslesslyConvertibleTo(CE1Op0->getType()))
|
CE1->getType()->isLosslesslyConvertibleTo(CE1Op0->getType()))
|
||||||
return evaluateRelation(CE1Op0,
|
return evaluateRelation(CE1Op0,
|
||||||
Constant::getNullValue(CE1Op0->getType()));
|
Constant::getNullValue(CE1Op0->getType()));
|
||||||
|
break;
|
||||||
|
|
||||||
case Instruction::GetElementPtr:
|
case Instruction::GetElementPtr:
|
||||||
// Ok, since this is a getelementptr, we know that the constant has a
|
// Ok, since this is a getelementptr, we know that the constant has a
|
||||||
|
Loading…
Reference in New Issue
Block a user