aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorzhicong zhong <zhiczhong@outlook.com>2024-07-01 09:30:04 +0800
committerGitHub <noreply@github.com>2024-07-01 09:30:04 +0800
commit1d4ce574a44bdac4ea0e0c12a75051af680b3633 (patch)
treefe66b803d52c46f1aeae5d467c14440ae1dc5cee /llvm/lib/CodeGen/MachinePipeliner.cpp
parent9b9405621bcc55b74d2177c960c21f62cc95e6fd (diff)
downloadllvm-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