[all-commits] [llvm/llvm-project] e7c904: [mlir] Use `let arguments =` syntax instead of inh...

ftynse via All-commits all-commits at lists.llvm.org
Mon Oct 19 02:16:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e7c90418fc8acce383b1bd0e54ae1751d1a2c2c6
      https://github.com/llvm/llvm-project/commit/e7c90418fc8acce383b1bd0e54ae1751d1a2c2c6
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td

  Log Message:
  -----------
  [mlir] Use `let arguments =` syntax instead of inheritance in LLVM dialect

LLVM dialect has been defining Op arguments by deriving the `Arguments` ODS
class. This has arguably worse readability due to large indentation caused by
multiple derivations, and is inconsistent with other ODS files. Use the `let
arguments` form instead.

Reviewed By: rriddle

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




More information about the All-commits mailing list