[all-commits] [llvm/llvm-project] 6923a3: [mlir][IR] Change `MutableArrayRange` to enumerate...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Tue Sep 19 00:09:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6923a31542cd3392415af51b07bb4cb9fe42f39f
https://github.com/llvm/llvm-project/commit/6923a31542cd3392415af51b07bb4cb9fe42f39f
Author: Matthias Springer <me at m-sp.org>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/IR/ValueRange.h
M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
M mlir/lib/Dialect/ControlFlow/Transforms/BufferDeallocationOpInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M mlir/lib/IR/OperationSupport.cpp
M mlir/lib/Transforms/Utils/CFGToSCF.cpp
Log Message:
-----------
[mlir][IR] Change `MutableArrayRange` to enumerate `OpOperand &` (#66622)
In line with #66515, change `MutableArrayRange::begin`/`end` to
enumerate `OpOperand &` instead of `Value`. Also remove
`ForOp::getIterOpOperands`/`setIterArg`, which are now redundant.
Note: `MutableOperandRange` cannot be made a derived class of
`indexed_accessor_range_base` (like `OperandRange`), because
`MutableOperandRange::assign` can change the number of operands in the
range.
More information about the All-commits
mailing list