mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
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:
parent
adb7c0de39
commit
a0ae8196a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user