aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorSpenser Bauman <sbauman@mathworks.com>2023-05-02 08:17:45 -0700
committerJacques Pienaar <jpienaar@google.com>2023-05-02 08:18:35 -0700
commit19109a274e67f8f6a30a0da22b2135daa327bb79 (patch)
tree164a4d30a961499c01ca5de212fb4d61514b8de6 /llvm/lib/Support/VirtualFileSystem.cpp
parent631bfdbee5b45eda9f99dff6a716d63c5698e4bd (diff)
downloadllvm-19109a274e67f8f6a30a0da22b2135daa327bb79.zip
llvm-19109a274e67f8f6a30a0da22b2135daa327bb79.tar.gz
llvm-19109a274e67f8f6a30a0da22b2135daa327bb79.tar.bz2
[mlir][tosa] Fix crash when inferring shape of tosa.equal
The tosa-infer-shapes pass crashes when trying to infer the output shape of tosa.equal when the input shape is unranked. This is due to tosa-infer-shapes requiring at least information on the base type of the resulting operation from inferReturnTypeComponents. This change enhances EqualOp::inferReturnTypeComponents to always supply the inferred elementType. Reviewed By: eric-k256 Differential Revision: https://reviews.llvm.org/D149582
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions