[all-commits] [llvm/llvm-project] 464223: [mlir] mlir-opt: print a newline after the top-lev...

ftynse via All-commits all-commits at lists.llvm.org
Mon Mar 2 02:43:17 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 464223b5ac9225eb54e9e73198773f59374f2a9c
      https://github.com/llvm/llvm-project/commit/464223b5ac9225eb54e9e73198773f59374f2a9c
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-03-02 (Mon, 02 Mar 2020)

  Changed paths:
    M mlir/lib/Support/MlirOptMain.cpp

  Log Message:
  -----------
  [mlir] mlir-opt: print a newline after the top-level module

A printer refactoring removed automatic newline printing in the printer
of a ModuleOp. As a consequence, mlir-opt no longer printed a newline
after the closing brace of a module, which made it hard to distinguish
when used from command line. Print the newline character explicitly in
mlir-opt.




More information about the All-commits mailing list