This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add mlir translate flag to print errors only.
ClosedPublic

Authored by gysit on May 15 2023, 2:09 AM.

Details

Summary

The revision adds a flag to mlir translate that suppresses
any non-error diagnostics. The flag is useful when importing
LLVM IR to LLVM dialect, which produces a lot of
warnings due to dropped metadata and debug intrinsics.

Diff Detail

Event Timeline

gysit created this revision.May 15 2023, 2:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2023, 2:09 AM
gysit requested review of this revision.May 15 2023, 2:09 AM
Dinistro accepted this revision.May 15 2023, 2:29 AM

LGTM!

This revision is now accepted and ready to land.May 15 2023, 2:29 AM
This revision was automatically updated to reflect the committed changes.