llvm-6502/lib/Bitcode/Reader
Chris Lattner 714fa95d01 Fix PR4336: Iterating over use-def chains doesn't seem to be deterministic.
The problem was that BitcodeReader::materializeModule would read functions
from the bc file in densemap pointer key order (doubly non-deterministic!),
which would cause the use-def chains to be set up for globals in
non-determinstic order.  Non-determinstic use/def chains can cause 
nondeterminism in many places down-stream.

Many thanks to Julien Lerouge for putting together the pass in the PR that
shows the issue!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73470 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-16 05:15:21 +00:00
..
BitcodeReader.cpp Fix PR4336: Iterating over use-def chains doesn't seem to be deterministic. 2009-06-16 05:15:21 +00:00
BitcodeReader.h Make a major API change to BitstreamReader: split all the reading 2009-04-26 20:59:02 +00:00
BitReader.cpp
CMakeLists.txt
Deserialize.cpp Make a major API change to BitstreamReader: split all the reading 2009-04-26 20:59:02 +00:00
DeserializeAPFloat.cpp
DeserializeAPInt.cpp
Makefile