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:
parent
d387e918ba
commit
8e3d24fe85
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user