We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bad2c commit 358593bCopy full SHA for 358593b
llvm/utils/TableGen/Common/CodeGenRegisters.h
@@ -568,7 +568,7 @@ struct RegUnitSet {
568
unsigned Weight = 0; // Cache the sum of all unit weights.
569
unsigned Order = 0; // Cache the sort key.
570
571
- RegUnitSet(std::string Name) : Name(Name) {}
+ RegUnitSet(std::string Name) : Name(std::move(Name)) {}
572
};
573
574
// Base vector for identifying TopoSigs. The contents uniquely identify a
0 commit comments