[all-commits] [llvm/llvm-project] b055e6: Add a new interface method `getAsmBlockName()` on ...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri Feb 11 00:46:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b055e6d313651a766c97a1c82c09bcadb7c450c7
      https://github.com/llvm/llvm-project/commit/b055e6d313651a766c97a1c82c09bcadb7c450c7
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M mlir/include/mlir/IR/OpAsmInterface.td
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/test/IR/pretty_printed_region_op.mlir
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  Add a new interface method `getAsmBlockName()` on OpAsmOpInterface to control block names

This allows operations to control the block ids used by the printer in nested regions.

Reviewed By: Mogball

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




More information about the All-commits mailing list