1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Break seems serve better here.

llvm-svn: 305150
This commit is contained in:
Galina Kistanova 2017-06-10 18:26:19 +00:00
parent d387e918ba
commit 8e3d24fe85

View File

@ -382,7 +382,7 @@ struct ConstModifier: public Modifier {
switch (Ran->Rand() % 2) {
case 0: if (Ty->getScalarType()->isIntegerTy())
return PT->push_back(ConstantVector::getAllOnesValue(Ty));
llvm_unreachable("Unexpected state");
break;
case 1: if (Ty->getScalarType()->isIntegerTy())
return PT->push_back(ConstantVector::getNullValue(Ty));
}