mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-03 09:57:24 +00:00
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:
parent
54c54e0c3e
commit
a393b70886
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user