[PATCH] D34157: [llvm-stress] Use C++11 mersenne_twister_engine random device instead of our own (PR32585)
Jonathan Roelofs via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 15:16:14 PDT 2017
jroelofs added inline comments.
================
Comment at: tools/llvm-stress/llvm-stress.cpp:47
+typedef std::mt19937_64 RandomGen;
+typedef std::uniform_int_distribution<uint64_t> RandomDist;
----------------
Can you use the llvm::RandomNumberGenerator wrapper instead? That prevents accidentally copying it.
Repository:
rL LLVM
https://reviews.llvm.org/D34157
More information about the llvm-commits
mailing list