[Mlir-commits] [mlir] [MLIR] make One-Shot and SCF bufferization TensorLikeType-aware (PR #189073)
Dmitrii Makarenko
llvmlistbot at llvm.org
Mon Mar 30 07:04:50 PDT 2026
================
@@ -352,20 +351,20 @@ def BufferizableOpInterface : OpInterface<"BufferizableOpInterface"> {
%r = tensor.empty() : tensor<10xf32>
```
}],
- /*retType=*/"::mlir::bufferization::AliasingOpOperandList",
- /*methodName=*/"getAliasingOpOperands",
- /*args=*/(ins "::mlir::Value":$value,
- "const ::mlir::bufferization::AnalysisState &":$state),
- /*methodBody=*/"",
- /*defaultImplementation=*/[{
- assert(isa<::mlir::TensorType>(value.getType()) &&
+ /*retType=*/"::mlir::bufferization::AliasingOpOperandList",
+ /*methodName=*/"getAliasingOpOperands",
+ /*args=*/
+ (ins "::mlir::Value":$value,
+ "const ::mlir::bufferization::AnalysisState &":$state),
+ /*methodBody=*/"",
+ /*defaultImplementation=*/[{
+ assert(isa<::mlir::bufferization::TensorLikeType>(value.getType()) &&
----------------
Devjiu wrote:
Removed application of clang-format to this file.
https://github.com/llvm/llvm-project/pull/189073
More information about the Mlir-commits
mailing list