[llvm] r211705 - Random Number Generator (llvm)

Chris Lattner clattner at apple.com
Mon Jun 30 13:39:51 PDT 2014


On Jun 30, 2014, at 10:25 AM, Stephen Crane <sjcrane at uci.edu> wrote:
> Yes, LLVMContext was what we originally considered, but then Module
> was settled on. I'm up for putting it back in Context. I think we
> would then need to be careful to (re-)salt and seed the RNG
> deterministically then, based on the OwnedModules, though.
> 
> We're looking to try to land the option to add diversity to
> implementation details. See http://reviews.llvm.org/D1802 for more
> details. A reproducible RNG is the first step needed for this.

I haven’t been following the diversity stuff, but I really think that this should be somewhere higher level than either LLVMContext or Module.

-Chris



More information about the llvm-commits mailing list