llvm-project
fd8f69d3 - [mlir][Bufferization] Fix to_buffer(tensor.cast) folder (#150511)

Commit
142 days ago
[mlir][Bufferization] Fix to_buffer(tensor.cast) folder (#150511) Previously this folder would ignore the layout and memory space on the to_buffer op and set it as default. This changes the pattern to retain both fields from the existing memref type but incorporate the static shape information from the tensor cast. The `read_only` attribute was also dropped by the pattern and is retained now as well.
Author
Parents
Loading