[Mlir-commits] [mlir] [mlir] Make the split markers of splitAndProcessBuffer configurable. (PR #84765)
Mehdi Amini
llvmlistbot at llvm.org
Mon Mar 11 13:40:16 PDT 2024
Ingo =?utf-8?q?Müller?= <ingomueller at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/84765 at github.com>
================
@@ -80,6 +80,14 @@ LogicalResult mlir::mlirTranslateMain(int argc, char **argv,
"(discouraged: testing only!)"),
llvm::cl::init(false));
+ static llvm::cl::opt<std::string> inputSplitMarker(
+ "input-split-marker", llvm::cl::desc("Split marker to use for the input"),
+ llvm::cl::init(kDefaultSplitMarker));
----------------
joker-eph wrote:
Instead of a separate flag, can we just change `splitInputFile` to be a string?
https://github.com/llvm/llvm-project/pull/84765
More information about the Mlir-commits
mailing list