Fix indeterminism in MI scheduler DAG construction.
authorSergei Larin <slarin@codeaurora.org>
Thu, 15 Nov 2012 17:45:50 +0000 (17:45 +0000)
committerSergei Larin <slarin@codeaurora.org>
Thu, 15 Nov 2012 17:45:50 +0000 (17:45 +0000)
commit009cf9e9a3a386f89db2686a105736481aed10ca
tree8704ee3df5d82124d6408f31e06cbb95839bfea1
parent79c07d2a36282b09b9c5d0aa65ebf4bff017621b
Fix indeterminism in MI scheduler DAG construction.
Similarly to several recent fixes throughout the code replace std::map use with the MapVector.
Add find() method to the MapVector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168051 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/MapVector.h
lib/CodeGen/ScheduleDAGInstrs.cpp