[llvm] r211705 - Random Number Generator (llvm)

Chandler Carruth chandlerc at google.com
Wed Jul 2 11:52:53 PDT 2014


On Tue, Jul 1, 2014 at 9:50 PM, Chris Lattner <clattner at apple.com> wrote:

> Any thoughts guys?  If we are unclear what the right design here is, I'd
> prefer you to revert the patch until it is figured out.


I'm moderately confident this isn't the right design...

Specifically, I totally get why the seed and salt data needed by an RNG
might be in the module (preferably opaquely in module-level metadata or
something), but I don't really understand why the RN*G* would be in the
module rather than in the pass or thing which is generating the random data
for some purpose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140702/03a36cf1/attachment.html>


More information about the llvm-commits mailing list