Files
clang-p2996/mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
Matthias Springer 0259f92711 [mlir][memref] Add builder that infers reinterpret_cast result type (#109432)
Add a convenience builder that infers the result type of
`memref.reinterpret_cast`.

Note: It is not possible to remove the result type from all builder
overloads because this op currently also allows certain
operand/attribute + result type combinations that do not match. The op
verifier should probably be made stricter, but that's a larger change
that requires additional `memref.cast` ops in some places that build
`reinterpret_cast` ops.
2024-09-25 09:33:15 +02:00

12 KiB