[CodeGen] Use MapVector instead of DenseMap.
authorMichael Kruse <llvm@meinersbur.de>
Fri, 5 Aug 2016 16:45:51 +0000 (16:45 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Fri, 5 Aug 2016 16:45:51 +0000 (16:45 +0000)
commitfbde435517f8e2fc884423aa5b007ae4ea6af754
treee8af759ec5879fc4bae2d39a20929ec3224d4856
parent67cb90ba95b4fa03292eb0348f86b8d6642c1583
[CodeGen] Use MapVector instead of DenseMap.

The map is iterated over when generating the values escaping the SCoP. The
indeterministic iteration order of DenseMap causes the output IR to change at
every compilation, adding noise to comparisons.

Replace DenseMap by a MapVector to ensure the same iteration order at every
compilation.

llvm-svn: 277832
polly/include/polly/CodeGen/BlockGenerators.h
polly/lib/CodeGen/BlockGenerators.cpp