git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231058
91177308-0d34-0410-b5e6-
96231b3b80d8
// Look at the possible compositions of Idx.
// They may not all be supported by SR.
- // NOTE: Iteration order does not matter here because the EnumValue's
- // of subreg indices are unique.
for (CodeGenSubRegIndex::CompMap::const_iterator I = Comps.begin(),
E = Comps.end(); I != E; ++I) {
SubRegMap::const_iterator SRI = Map.find(I->first);
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.