[all-commits] [llvm/llvm-project] 1ade6f: [mlir] Add mlir translate flag to print errors only.
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Tue May 16 00:33:14 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ade6f36e3b4652a17499ae261e60d5b0de52ce0
https://github.com/llvm/llvm-project/commit/1ade6f36e3b4652a17499ae261e60d5b0de52ce0
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
A mlir/test/mlir-translate/import-error-only.ll
Log Message:
-----------
[mlir] Add mlir translate flag to print errors only.
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.
Reviewed By: Dinistro
Differential Revision: https://reviews.llvm.org/D150547
More information about the All-commits
mailing list