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)
commite822148c80e70782036a6a20fb135a8eb8f033a8
tree6db7ad9a21e9de0d8ac6b449eab0aaaac6f57e21
parent262465c12666e9d5165505301ce5919b5e638269
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.

llvm-svn: 168051
llvm/include/llvm/ADT/MapVector.h
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp