[Mlir-commits] [mlir] [MLIR][mlir-opt] Add `registerationAndParseCLIOptions` for `MlirOptMain`. (PR #70581)

weiwei chen llvmlistbot at llvm.org
Sun Oct 29 19:22:17 PDT 2023


================
@@ -281,7 +282,8 @@ static LogicalResult doVerifyRoundTrip(Operation *op,
     roundtripModule =
         parseSourceString<Operation *>(ostream.str(), parseConfig);
     if (!roundtripModule) {
-      op->emitOpError() << "failed to parse bytecode back, cannot verify round-trip.\n";
+      op->emitOpError()
----------------
weiweichen wrote:

> whitespace changes? Did the file need reformatting?

Weird, I think my clang-format is acting out somehow here. Wait, the reformatting looks like needed since the original code has 88 characters in the line where llvm coding style says it should be ["within 80 columns" ](https://releases.llvm.org/10.0.0/docs/CodingStandards.html#source-code-width) 🤔.

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


More information about the Mlir-commits mailing list