diff options
author | Spenser Bauman <sbauman@mathworks.com> | 2023-12-01 10:33:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 15:33:14 +0000 |
commit | f58fb8c209a5179f8f2e02e2a0816c9b1f1edb1b (patch) | |
tree | 27ceec05c1f11e5829a83b07450738679c83694f /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 0d87e2577914a6384f4ad5952b8fa9b0d8e48da8 (diff) | |
download | llvm-f58fb8c209a5179f8f2e02e2a0816c9b1f1edb1b.zip llvm-f58fb8c209a5179f8f2e02e2a0816c9b1f1edb1b.tar.gz llvm-f58fb8c209a5179f8f2e02e2a0816c9b1f1edb1b.tar.bz2 |
[mlir][tosa] Fix lowering of tosa.conv2d (#73240)
The lowering of tosa.conv2d produces an illegal tensor.empty operation
where the number of inputs do not match the number of dynamic dimensions
in the output type.
The fix is to base the generation of tensor.dim operations off the
result type of the conv2d operation, rather than the input type. The
problem and fix are very similar to this fix
https://github.com/llvm/llvm-project/pull/72724
but for convolution.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions