summaryrefslogtreecommitdiffstats
path: root/llvm/utils/shuffle_fuzz.py
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/shuffle_fuzz.py')
-rwxr-xr-xllvm/utils/shuffle_fuzz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/utils/shuffle_fuzz.py b/llvm/utils/shuffle_fuzz.py
index 1f1a0478f2b..b70530a0ed3 100755
--- a/llvm/utils/shuffle_fuzz.py
+++ b/llvm/utils/shuffle_fuzz.py
@@ -17,13 +17,14 @@ import argparse
import itertools
import random
import sys
+import uuid
def main():
parser = argparse.ArgumentParser(description=__doc__)
- parser.add_argument('seed',
- help='A string used to seed the RNG')
parser.add_argument('-v', '--verbose', action='store_true',
help='Show verbose output')
+ parser.add_argument('--seed', default=str(uuid.uuid4()),
+ help='A string used to seed the RNG')
parser.add_argument('--max-shuffle-height', type=int, default=16,
help='Specify a fixed height of shuffle tree to test')
parser.add_argument('--no-blends', dest='blends', action='store_false',
OpenPOWER on IntegriCloud