diff options
author | Matthias Springer <springerm@google.com> | 2022-10-27 10:04:38 +0200 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2022-10-27 10:09:31 +0200 |
commit | cfaf3292df51090d03c1f98a95668246006813e1 (patch) | |
tree | 3fcdba4c5c75593b3e5e9bd3dbcb31c57d740486 /llvm/lib/Support/StringRef.cpp | |
parent | 0b779494a8523a0159afb399ba07f0086552b50d (diff) | |
download | llvm-cfaf3292df51090d03c1f98a95668246006813e1.zip llvm-cfaf3292df51090d03c1f98a95668246006813e1.tar.gz llvm-cfaf3292df51090d03c1f98a95668246006813e1.tar.bz2 |
[mlir][tensor] Disallow unranked tensors for tensor.extract/insert
When writing a tensor.extract/tensor.insert, the rank of the tensor is implied by the number of specified indices. When extracting from/inserting into an unranked tensor, it should first be casted to a ranked version.
Differential Revision: https://reviews.llvm.org/D136756
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions