Skip to content

Commit 4438059

Browse files
authored
Fix Coverity issue (#4305)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent ae46511 commit 4438059

File tree

1 file changed

+1
-1
lines changed
  • third_party/intel/lib/Dialect/TritonIntelGPU/IR

1 file changed

+1
-1
lines changed

third_party/intel/lib/Dialect/TritonIntelGPU/IR/Dialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ struct TritonIntelGPUInferLayoutInterface
889889
auto dst = src.transposeOuts(srcOutDims)
890890
.reshapeOuts(newOutDims)
891891
.transposeOuts(standardOutDimNames(ctx, newRank));
892-
dstEnc = LinearEncodingAttr::get(ctx, dst);
892+
dstEnc = LinearEncodingAttr::get(ctx, std::move(dst));
893893
return success();
894894
}
895895

0 commit comments

Comments
 (0)