diff options
author | Uday Bondhugula <uday@polymagelabs.com> | 2022-04-16 09:24:20 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2022-04-17 20:10:40 +0530 |
commit | daabcf5f04bbd13ac53f76ca3cc43b0d1ef64f5a (patch) | |
tree | 269a2ac993f2bdb664e74478cdc5c4e430b7554d /clang/lib/Basic/Builtins.cpp | |
parent | 34a68037ddb4dff972c5d8c599cf5edf08fadf6b (diff) | |
download | llvm-daabcf5f04bbd13ac53f76ca3cc43b0d1ef64f5a.zip llvm-daabcf5f04bbd13ac53f76ca3cc43b0d1ef64f5a.tar.gz llvm-daabcf5f04bbd13ac53f76ca3cc43b0d1ef64f5a.tar.bz2 |
[MLIR] Provide a way to print ops in custom form on pass failure
The generic form of the op is too verbose and in some cases not
readable. On pass failure, ops have been so far printed in generic form
to provide a (stronger) guarantee that the IR print succeeds. However,
in a large number of pass failure cases, the IR is still valid and
the custom printers for the ops will succeed. In fact, readability is
highly desirable post pass failure. This revision provides an option to
print ops in their custom/pretty-printed form on IR failure -- this
option is unsafe and there is no guarantee it will succeed. It's
disabled by default and can be turned on only if needed.
Differential Revision: https://reviews.llvm.org/D123893
Diffstat (limited to 'clang/lib/Basic/Builtins.cpp')
0 files changed, 0 insertions, 0 deletions