File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ class Intrinsic {
578
578
class NeonEmitter {
579
579
const RecordKeeper &Records;
580
580
DenseMap<const Record *, ClassKind> ClassMap;
581
- std::map<std::string, std::deque<Intrinsic>> IntrinsicMap;
581
+ std::map<std::string, std::deque<Intrinsic>, std::less<> > IntrinsicMap;
582
582
unsigned UniqueNumber;
583
583
584
584
void createIntrinsic (const Record *R, SmallVectorImpl<Intrinsic *> &Out);
@@ -1937,9 +1937,9 @@ void Intrinsic::indexBody() {
1937
1937
Intrinsic &NeonEmitter::getIntrinsic (StringRef Name, ArrayRef<Type> Types,
1938
1938
std::optional<std::string> MangledName) {
1939
1939
// First, look up the name in the intrinsic map.
1940
- assert_with_loc (IntrinsicMap.find (Name. str () ) != IntrinsicMap.end (),
1940
+ assert_with_loc (IntrinsicMap.find (Name) != IntrinsicMap.end (),
1941
1941
(" Intrinsic '" + Name + " ' not found!" ).str ());
1942
- auto &V = IntrinsicMap.find (Name. str () )->second ;
1942
+ auto &V = IntrinsicMap.find (Name)->second ;
1943
1943
std::vector<Intrinsic *> GoodVec;
1944
1944
1945
1945
// Create a string to print if we end up failing.
You can’t perform that action at this time.
0 commit comments