[PATCH] D34157: [llvm-stress] Use C++11 mersenne_twister_engine random device instead of our own (PR32585)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 11:53:49 PDT 2017
RKSimon created this revision.
As discussed on https://reviews.llvm.org/D34089, this patch replaces the existing custom Random class with the C++ mersenne_twister_engine instead, which should maintain equivalent values on different targets.
llvm-stress is still driven by an input seed, but the change in randomizer will mean that the fuzz test codegen won't match previous results.
Repository:
rL LLVM
https://reviews.llvm.org/D34157
Files:
tools/llvm-stress/llvm-stress.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34157.102375.patch
Type: text/x-patch
Size: 15559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/912ce2f1/attachment.bin>
More information about the llvm-commits
mailing list