diff options
author | zhicong zhong <zhiczhong@outlook.com> | 2024-07-01 09:30:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 09:30:04 +0800 |
commit | 1d4ce574a44bdac4ea0e0c12a75051af680b3633 (patch) | |
tree | fe66b803d52c46f1aeae5d467c14440ae1dc5cee /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 9b9405621bcc55b74d2177c960c21f62cc95e6fd (diff) | |
download | llvm-1d4ce574a44bdac4ea0e0c12a75051af680b3633.zip llvm-1d4ce574a44bdac4ea0e0c12a75051af680b3633.tar.gz llvm-1d4ce574a44bdac4ea0e0c12a75051af680b3633.tar.bz2 |
[mlir][bufferization] skip empty tensor elimination if they have different element type (#96998)
In the origin implementation, the empty tensor elimination will add a
`tensor.cast` and eliminate the tensor even if they have different
element type(f32, bf16). Here add a check for element type and skip the
elimination if they are different.
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions