diff options
author | Prashant Kumar <pk5561@gmail.com> | 2024-06-07 11:22:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 11:22:36 +0530 |
commit | 1752740f4b4b752bbe2987a0de398c6f671ceb71 (patch) | |
tree | 8f03fd97ef1a8f4eef3b80d4e8ec9ad34d4910b5 /llvm/lib/CodeGen/TargetOptionsImpl.cpp | |
parent | 670fa2bd7a4d50c33bc24d4e3e1fa4079592b730 (diff) | |
download | llvm-1752740f4b4b752bbe2987a0de398c6f671ceb71.zip llvm-1752740f4b4b752bbe2987a0de398c6f671ceb71.tar.gz llvm-1752740f4b4b752bbe2987a0de398c6f671ceb71.tar.bz2 |
[mlir][tensor] Fix FoldTensorCastProducerOp for multiple result operations (#93374)
For patterns where there are multiple results apart from dpsInits, this
fails.
E.g.:
```
%13:2 = iree_codegen.ukernel.generic "iree_uk_unpack"
ins(%extracted_slice : tensor<?x1x16x16xf32>) outs(%11 :
tensor<?x?xf32>) ... -> tensor<?x?xf32>, i32
```
The above op has results apart from dpsInit and hence fails. The PR
assumes that the result has dpsInits followed by nonDpsInits.
Diffstat (limited to 'llvm/lib/CodeGen/TargetOptionsImpl.cpp')
0 files changed, 0 insertions, 0 deletions