[Mlir-commits] [mlir] [mlir] Make the split markers of splitAndProcessBuffer configurable. (PR #84765)

Ingo Müller llvmlistbot at llvm.org
Tue Mar 12 06:21:49 PDT 2024


================
@@ -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));
----------------
ingomueller-net wrote:

Yeah, good idea! Check out the new commit. This made the change a bit more involved than before but I still thinks it's a good thing to do.

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


More information about the Mlir-commits mailing list