@@ -675,7 +675,7 @@ MmaSyncBuilder::buildMemRefLoads(OpBuilder &b, Location loc,
675675Value MmaSyncBuilder::buildMmaSyncMemRefLoadOperand (
676676 OpBuilder &b, Location loc, OpFoldResult laneId, Value memref,
677677 IndexCalculator indexFn, ArrayRef<int64_t > vectorShape) {
678- auto loads = buildMemRefLoads (b, loc, laneId, memref, std::move ( indexFn) );
678+ auto loads = buildMemRefLoads (b, loc, laneId, memref, indexFn);
679679
680680 Type elementType = getElementTypeOrSelf (memref.getType ());
681681 auto vt = VectorType::get (vectorShape, elementType);
@@ -727,7 +727,7 @@ SmallVector<Operation *> MmaSyncBuilder::buildMmaSyncMemRefStoreOperand(
727727 [&](Value v, int64_t linearIdx, ArrayRef<int64_t > indices) {
728728 toStore.push_back (v);
729729 });
730- return buildMemRefStores (b, loc, toStore, laneId, memref, std::move ( indexFn) );
730+ return buildMemRefStores (b, loc, toStore, laneId, memref, indexFn);
731731}
732732
733733static std::tuple<SmallVector<int64_t >, SmallVector<int64_t >,
0 commit comments