diff options
-rw-r--r-- | llvm/tools/llvm-stress/llvm-stress.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/tools/llvm-stress/llvm-stress.cpp b/llvm/tools/llvm-stress/llvm-stress.cpp index 0ed7adb46dd..ba1d5739586 100644 --- a/llvm/tools/llvm-stress/llvm-stress.cpp +++ b/llvm/tools/llvm-stress/llvm-stress.cpp @@ -411,12 +411,14 @@ struct ConstModifier: public Modifier { case 1: return PT->push_back(ConstantInt::get( Ty, APInt::getNullValue(Ty->getPrimitiveSizeInBits()))); - case 2: case 3: case 4: case 5: + case 2: + case 3: + case 4: + case 5: case 6: PT->push_back(ConstantInt::get(Ty, Ran->Rand())); } } - } }; |