aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-10-16 21:04:11 +0200
committerGitHub <noreply@github.com>2024-10-16 21:04:11 +0200
commit36d936a2d057ddbd7822614edf01e39a0c21d654 (patch)
treee9bea7e9a7bbfac66e65e27aa3ecb00adfd809d9 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentae68d532f810e217c747b10b26aeea3bb84c3844 (diff)
downloadllvm-36d936a2d057ddbd7822614edf01e39a0c21d654.zip
llvm-36d936a2d057ddbd7822614edf01e39a0c21d654.tar.gz
llvm-36d936a2d057ddbd7822614edf01e39a0c21d654.tar.bz2
[mlir][IR] Improve error message when return type could not be inferred (#112336)
Print an error such as the following one before terminating program execution. ``` mlir/test/Dialect/SparseTensor/convert_dense2sparse.mlir:26:8: remark: location of op %0 = sparse_tensor.convert %arg0 : tensor<?xi32> to tensor<?xi32, #SparseVector> ^ LLVM ERROR: Failed to infer result type(s): "sparse_tensor.positions"(...) {} : (index) -> ( ??? ) (stack trace follows) ```
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions