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 3f1fe43 commit 8b051e9Copy full SHA for 8b051e9
third_party/amd/lib/TritonAMDGPUToLLVM/SchedInstructions.cpp
@@ -105,7 +105,7 @@ struct TritonAMDGPULowerInstructionSchedHints
105
106
explicit TritonAMDGPULowerInstructionSchedHints(StringRef arch,
107
int32_t numStages) {
108
- this->arch = std::move(arch.str());
+ this->arch = arch.str();
109
this->numStages = numStages;
110
}
111
@@ -138,7 +138,7 @@ struct TritonAMDGPUInsertInstructionSchedHints
138
TritonAMDGPUInsertInstructionSchedHints> {
139
140
explicit TritonAMDGPUInsertInstructionSchedHints(StringRef variant) {
141
- this->variant = std::move(variant.str());
+ this->variant = variant.str();
142
143
144
void runOnOperation() override {
0 commit comments