[Mlir-commits] [mlir] [mlir] Apply the default --split-input-file marker after parsing (PR #226361)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Sep 24 22:34:19 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Fangrui Song (MaskRay)

<details>
<summary>Changes</summary>

A bare --split-input-file selects the default marker. Apply it after
cl::ParseCommandLineOptions instead of using cl::callback, which will be
removed to enable migration to TableGen
https://discourse.llvm.org/t/rfc-declare-library-command-line-options-in-tablegen-one-struct-per-library/91877/3

LLM-aided

---
Full diff: https://github.com/llvm/llvm-project/pull/226361.diff


5 Files Affected:

- (modified) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp (+10-5) 
- (modified) mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp (+3-6) 
- (modified) mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp (+3-5) 
- (modified) mlir/tools/mlir-irdl-to-cpp/mlir-irdl-to-cpp.cpp (+3-6) 
- (modified) mlir/tools/mlir-pdll/mlir-pdll.cpp (+3-5) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


https://github.com/llvm/llvm-project/pull/226361


More information about the Mlir-commits mailing list