[all-commits] [llvm/llvm-project] 0fe166: Add a `skipRegion()` feature to the OpPrintingFlag...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Mar 13 08:51:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fe16607a523af3d8978ad636134e4d3034e365c
      https://github.com/llvm/llvm-project/commit/0fe16607a523af3d8978ad636134e4d3034e365c
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
    M mlir/test/mlir-lsp-server/hover.test

  Log Message:
  -----------
  Add a `skipRegion()` feature to the OpPrintingFlags for MLIR ASM printer

This is a convenient flag for context where we intend to summarize a top-level
operation without the full-blown regions it may hold.

Differential Revision: https://reviews.llvm.org/D145889


  Commit: d563211f75080995ed9037861185d45ccf812cca
      https://github.com/llvm/llvm-project/commit/d563211f75080995ed9037861185d45ccf812cca
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M mlir/test/IR/pretty_printed_region_op.mlir
    M mlir/test/lib/Dialect/Test/TestDialect.cpp

  Log Message:
  -----------
  Fix test dialect to avoid using an unregistered dialect

Fixes #61374


Compare: https://github.com/llvm/llvm-project/compare/1285a495d588...d563211f7508


More information about the All-commits mailing list