Skip to content

Commit c40277f

Browse files
committed
[MLIR] NFC. Pass affine copy options by const ref
NFC. Pass affine copy options by const ref. Differential Revision: https://reviews.llvm.org/D150507
1 parent 65429b9 commit c40277f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ static LogicalResult generateCopy(
19721972
const MemRefRegion &region, Block *block, Block::iterator begin,
19731973
Block::iterator end, Block *copyPlacementBlock,
19741974
Block::iterator copyInPlacementStart, Block::iterator copyOutPlacementStart,
1975-
AffineCopyOptions copyOptions, DenseMap<Value, Value> &fastBufferMap,
1975+
const AffineCopyOptions &copyOptions, DenseMap<Value, Value> &fastBufferMap,
19761976
DenseSet<Operation *> &copyNests, uint64_t *sizeInBytes,
19771977
Block::iterator *nBegin, Block::iterator *nEnd) {
19781978
*nBegin = begin;

0 commit comments

Comments
 (0)