[all-commits] [llvm/llvm-project] 7f9e9c: Move getAsmBlockArgumentNames from OpAsmDialectInt...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sun Dec 19 23:19:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f9e9c7fc3416d243d59712864bdb5c5725aed7f
      https://github.com/llvm/llvm-project/commit/7f9e9c7fc3416d243d59712864bdb5c5725aed7f
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  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/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  Move getAsmBlockArgumentNames from OpAsmDialectInterface to OpAsmOpInterface

This method is more suitable as an opinterface: it seems intrinsic to
individual instances of the operation instead of the dialect.
Also remove the restriction on the interface being applicable to the entry block only.

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




More information about the All-commits mailing list