Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment