[PATCH] D34157: [llvm-stress] Use C++11 mersenne_twister_engine random device instead of our own (PR32585)

Marshall Clow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 10:07:40 PDT 2017


mclow.lists added a comment.

> my only concern is I have no idea if `uniform_int_distribution` guarantees the same behaviour on different targets as `mersene` does

It does not.
[rand.dist.general]/3:

> The algorithms for producing each of the specified distributions are implementation-defined.


Repository:
  rL LLVM

https://reviews.llvm.org/D34157





More information about the llvm-commits mailing list