diff options
author | Christian Ulmann <christian.ulmann@nextsilicon.com> | 2023-02-17 09:47:37 +0100 |
---|---|---|
committer | Christian Ulmann <christian.ulmann@nextsilicon.com> | 2023-02-17 10:25:23 +0100 |
commit | bf91cd6ea9d6c03558667d417e496324468948da (patch) | |
tree | 756cdf442006090d56e9c4491026699a0cb0626c /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | da3623de2411dd931913eb510e94fe846c929c24 (diff) | |
download | llvm-bf91cd6ea9d6c03558667d417e496324468948da.zip llvm-bf91cd6ea9d6c03558667d417e496324468948da.tar.gz llvm-bf91cd6ea9d6c03558667d417e496324468948da.tar.bz2 |
[mlir][llvm] Verify LLVM module before import
This commit ensures that the importing of LLVM modules first verifies
that the module is even valid. As many tests did not work with valid
LLVM IR, they were fixed as part of this commit.
Some error messages were only reachable with invalid input IR, thus they
were replaced with a failures.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D144186
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions