[all-commits] [llvm/llvm-project] 470f3c: [mlir] Catch the case using ir print without disab...
Kai Sasaki via All-commits
all-commits at lists.llvm.org
Sat Apr 1 23:51:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 470f3cee3557974bb1820722bf82d86b8909199b
https://github.com/llvm/llvm-project/commit/470f3cee3557974bb1820722bf82d86b8909199b
Author: Kai Sasaki <lewuathe at gmail.com>
Date: 2023-04-02 (Sun, 02 Apr 2023)
Changed paths:
M mlir/include/mlir/Pass/PassManager.h
M mlir/lib/Pass/PassManagerOptions.cpp
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
M mlir/test/Pass/invalid-pass.mlir
Log Message:
-----------
[mlir] Catch the case using ir print without disabling multithread
-mlir-print-ir-module-scope option cannot be used without disabling multithread for pass manager. For the usability, we can throw a validation error in mlir-opt instead of assertion failure.
Issue: https://github.com/llvm/llvm-project/issues/61578
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D146785
More information about the All-commits
mailing list