aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/X86InstrMappingEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/X86InstrMappingEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/X86InstrMappingEmitter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/X86InstrMappingEmitter.cpp b/llvm/utils/TableGen/X86InstrMappingEmitter.cpp
index 2745ba7..9abb194 100644
--- a/llvm/utils/TableGen/X86InstrMappingEmitter.cpp
+++ b/llvm/utils/TableGen/X86InstrMappingEmitter.cpp
@@ -35,10 +35,10 @@ class X86InstrMappingEmitter {
// to make the search more efficient
std::map<uint64_t, std::vector<const CodeGenInstruction *>> CompressedInsts;
- typedef std::pair<const CodeGenInstruction *, const CodeGenInstruction *>
- Entry;
- typedef std::map<StringRef, std::vector<const CodeGenInstruction *>>
- PredicateInstMap;
+ using Entry =
+ std::pair<const CodeGenInstruction *, const CodeGenInstruction *>;
+ using PredicateInstMap =
+ std::map<StringRef, std::vector<const CodeGenInstruction *>>;
// Hold all compressed instructions that need to check predicate
PredicateInstMap PredicateInsts;