OSDN Git Service

CodeGen: BlockPlacement: Add comment about DenseMap Safety.
authorKyle Butt <kyle+llvm@iteratee.net>
Wed, 12 Apr 2017 18:30:32 +0000 (18:30 +0000)
committerKyle Butt <kyle+llvm@iteratee.net>
Wed, 12 Apr 2017 18:30:32 +0000 (18:30 +0000)
commit718593b3f9a30114dbe798c3f7239ce713b75169
tree9bba7282476526c4c17e651501b9d521fe5952b8
parent1c404b475de4dc75d2146d8542487cc9b5a29ae7
CodeGen: BlockPlacement: Add comment about DenseMap Safety.

The use of a DenseMap in precomputeTriangleChains does not cause
non-determinism, even though it is iterated over, as the only thing the
iteration does is to insert entries into a new DenseMap, which is not iterated.
Comment only change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300088 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp