[mlir][tosa] Check for 0-ranked-tensors during fold (#68512)
Fixes https://github.com/llvm/llvm-project/issues/67761 Trying `getDimSize()` before checking for 0-ranked-tensors throws assert errors. This PR ensures that it is checked for. Or should we throw an error if we have a 0-ranked-tensor in a tosa operation?
Loading
Please sign in to comment