aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-11-19 09:27:51 +0900
committerGitHub <noreply@github.com>2024-11-19 09:27:51 +0900
commit204234a69c068032a1adac31f00b51f3b9efa778 (patch)
tree959e979fbb5a5534a8ffef39e8a970950c920847 /clang/lib/Frontend
parent5ae4d505c38872b3faaeea5779f6c25a9138bbc5 (diff)
downloadllvm-204234a69c068032a1adac31f00b51f3b9efa778.zip
llvm-204234a69c068032a1adac31f00b51f3b9efa778.tar.gz
llvm-204234a69c068032a1adac31f00b51f3b9efa778.tar.bz2
[mlir][SparseTensor][NFC] Pass tensor type to descriptor helper (#116468)
`getDescriptorFromTensorTuple` and `getMutDescriptorFromTensorTuple` extract the tensor type from an `unrealized_conversion_cast` op that serves as a workaround for missing 1:N dialect conversion support. This commit changes these functions so that they explicitly receive the tensor type as a function argument. This is in preparation of merging the 1:1 and 1:N conversion drivers. The conversion patterns in this file will soon start receiving multiple SSA values (`ValueRange`) from their adaptors (instead of a single value that is the result of `unrealized_conversion_cast`). It will no longer be possible to take the tensor type from the `unrealized_conversion_cast` op. The `unrealized_conversion_cast` workaround will disappear entirely.
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions