From 40e5ccb2609c80d0cf15927589ef8caaf661748e Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 21 Sep 2016 00:25:45 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282040 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenRegisters.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/TableGen/CodeGenRegisters.h b/utils/TableGen/CodeGenRegisters.h index 7a8fa12e513..b8d47aa4ff8 100644 --- a/utils/TableGen/CodeGenRegisters.h +++ b/utils/TableGen/CodeGenRegisters.h @@ -74,7 +74,8 @@ namespace llvm { std::string getQualifiedName() const; // Map of composite subreg indices. - typedef DenseMap CompMap; + typedef std::map> CompMap; // Returns the subreg index that results from composing this with Idx. // Returns NULL if this and Idx don't compose. -- 2.50.1