[LLVMdev] Deterministic code generation and llvm::Iterators

Augustine Mathews augustine.mathew at gmail.com
Mon Jan 25 08:55:02 CST 2010


Guys,

It seems as though the llvm system doesn't deterministically iterate over
Module::iterator, or global_iterator. To make myself clearer, the iterators
iterate over all the global_variables but on different llvm passes
(different calls to opt -load), the iterators iterate over them in different
orders.

I was thinking that it has something non deterministic to do with byte code
reading or the llvm system initializing the variable.

Thanks,
Augustine Mathew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20100126/8f5cc028/attachment.html 


More information about the LLVMdev mailing list