Skip to content

Commit 8b051e9

Browse files
karupayunchsigg
authored andcommitted
Fixes needed for llvm update llvmorg-21-init-18582-g06ae0c2a10
1 parent 3f1fe43 commit 8b051e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third_party/amd/lib/TritonAMDGPUToLLVM/SchedInstructions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ struct TritonAMDGPULowerInstructionSchedHints
105105

106106
explicit TritonAMDGPULowerInstructionSchedHints(StringRef arch,
107107
int32_t numStages) {
108-
this->arch = std::move(arch.str());
108+
this->arch = arch.str();
109109
this->numStages = numStages;
110110
}
111111

@@ -138,7 +138,7 @@ struct TritonAMDGPUInsertInstructionSchedHints
138138
TritonAMDGPUInsertInstructionSchedHints> {
139139

140140
explicit TritonAMDGPUInsertInstructionSchedHints(StringRef variant) {
141-
this->variant = std::move(variant.str());
141+
this->variant = variant.str();
142142
}
143143

144144
void runOnOperation() override {

0 commit comments

Comments
 (0)