diff options
-rw-r--r-- | llvm/utils/TableGen/CodeGenRegisters.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeGenRegisters.h b/llvm/utils/TableGen/CodeGenRegisters.h index b8d47aa4ff8..7a8fa12e513 100644 --- a/llvm/utils/TableGen/CodeGenRegisters.h +++ b/llvm/utils/TableGen/CodeGenRegisters.h @@ -74,8 +74,7 @@ namespace llvm { std::string getQualifiedName() const; // Map of composite subreg indices. - typedef std::map<CodeGenSubRegIndex *, CodeGenSubRegIndex *, - deref<llvm::less>> CompMap; + typedef DenseMap<CodeGenSubRegIndex *, CodeGenSubRegIndex *> CompMap; // Returns the subreg index that results from composing this with Idx. // Returns NULL if this and Idx don't compose. |