"llvm/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "0cfdac078ec50e1d445436714b6816064125aac6"
Fix the largest offender of determinism in BBVectorize
Iterating over the children of each node in the potential vectorization plan must happen in a deterministic order (because it affects which children are erased when two children conflict). There was no need for this data structure to be a map in the first place, so replacing it with a vector is a small change. I believe that this was the last remaining instance if iterating over the elements of a Dense* container where the iteration order could matter. There are some remaining iterations over std::*map containers where the order might matter, but so long as the Value* for instructions in a block increase with the order of the instructions in the block (or decrease) monotonically, then this will appear to be deterministic. llvm-svn: 167942
Loading
Please register or sign in to comment