diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp index 182d9665098b..d9ff76b1e4b5 100644 --- a/llvm/lib/CodeGen/RegAllocGreedy.cpp +++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp @@ -292,7 +292,7 @@ class RAGreedy : public MachineFunctionPass, public: using EvictorInfo = std::pair; - using EvicteeInfo = llvm::MapVector; + using EvicteeInfo = llvm::DenseMap; private: /// Each Vreg that has been evicted in the last stage of selectOrSplit will