llvm-6502/lib/Transforms
Hal Finkel d7a3425f06 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167942 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-14 18:38:11 +00:00
..
Hello
InstCombine instcombine: Migrate math library call simplifications 2012-11-13 04:16:17 +00:00
Instrumentation [TSan] fix indentation 2012-11-14 14:33:59 +00:00
IPO Revert the series of commits starting with r166578 which introduced the 2012-11-01 08:07:29 +00:00
Scalar instcombine: Migrate math library call simplifications 2012-11-13 04:16:17 +00:00
Utils Figure out <size> argument of llvm.lifetime intrinsics at the moment they are created (during function inlining) 2012-11-13 07:15:32 +00:00
Vectorize Fix the largest offender of determinism in BBVectorize 2012-11-14 18:38:11 +00:00
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
LLVMBuild.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00