Revert "TableGen: Switch from a std::map to a DenseMap in CodeGenSubRegIndex. NFC"

It turns out we iterate over this map a fair amount and the order
matters for clang to be deterministic. See:

  http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160919/391315.html

This reverts r279875.

llvm-svn: 282040
This commit is contained in:
Justin Bogner 2016-09-21 00:25:45 +00:00
parent 79dcc274b4
commit f2f436369a
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ namespace llvm {
std::string getQualifiedName() const;
// Map of composite subreg indices.
typedef DenseMap<CodeGenSubRegIndex *, CodeGenSubRegIndex *> CompMap;
typedef std::map<CodeGenSubRegIndex *, CodeGenSubRegIndex *,
deref<llvm::less>> CompMap;
// Returns the subreg index that results from composing this with Idx.
// Returns NULL if this and Idx don't compose.