Commit aba0ef70 authored by Matthias Springer's avatar Matthias Springer
Browse files

[mlir][bufferization] Support casts in EmptyTensorElimination

EmptyTensorElimination is a pre-bufferization transformation that replaces "tensor.empty" ops with "tensor.extract_slice" ops. This revision adds support for cases where the input IR contains "tensor.cast" ops.

Differential Revision: https://reviews.llvm.org/D156167
parent 09156b36
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment