File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mlir/lib/Dialect/Linalg/Transforms Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -200,10 +200,10 @@ static void populateOpPayload(
200200 SmallVector<OpOperand *> newInputOperands = newOp.getDpsInputOperands ();
201201 updateReplacements (origInputOperands, newInputOperands, origInsToNewInsPos);
202202
203- SmallVector<OpOperand *> origOutputOperands = llvm::to_vector ( llvm::map_range (
204- genericOp.getDpsInitsMutable (), [](OpOperand &o) { return &o; } ));
205- SmallVector<OpOperand *> newOutputOperands = llvm::to_vector ( llvm::map_range (
206- newOp.getDpsInitsMutable (), [](OpOperand &o) { return &o; } ));
203+ SmallVector<OpOperand *> origOutputOperands =
204+ llvm::to_vector ( llvm::make_pointer_range ( genericOp.getDpsInitsMutable ()));
205+ SmallVector<OpOperand *> newOutputOperands =
206+ llvm::to_vector ( llvm::make_pointer_range ( newOp.getDpsInitsMutable ()));
207207 updateReplacements (origOutputOperands, newOutputOperands,
208208 origOutsToNewOutsPos);
209209
You can’t perform that action at this time.
0 commit comments