diff options
author | Alex Zinenko <zinenko@google.com> | 2021-07-28 10:23:38 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2021-07-28 18:15:58 +0200 |
commit | 49f745f59cbe1eda4653d917cc7d8d0b586fc6a4 (patch) | |
tree | a16c06dde0e71d5ffa139cda94fae764bbe1f29b /llvm/tools/llvm-strings/llvm-strings.cpp | |
parent | c1f719d1a749eaf4a4964292e3eed6ab2766f2c5 (diff) | |
download | llvm-49f745f59cbe1eda4653d917cc7d8d0b586fc6a4.zip llvm-49f745f59cbe1eda4653d917cc7d8d0b586fc6a4.tar.gz llvm-49f745f59cbe1eda4653d917cc7d8d0b586fc6a4.tar.bz2 |
[mlir] run the verifier before translating a module
In translation from MLIR to another IR, run the MLIR verifier on the parsed
module to ensure only valid modules are given to the translation. Previously,
we would send any module that could be parsed to the translation, including
semantically invalid modules, leading to surprising errors or lack thereof down
the pipeline.
Depends On D106937
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D106938
Diffstat (limited to 'llvm/tools/llvm-strings/llvm-strings.cpp')
0 files changed, 0 insertions, 0 deletions