[mlir] Use `let arguments =` syntax instead of inheritance in LLVM dialect
authorAlex Zinenko <zinenko@google.com>
Fri, 16 Oct 2020 16:30:08 +0000 (18:30 +0200)
committerAlex Zinenko <zinenko@google.com>
Mon, 19 Oct 2020 09:16:04 +0000 (11:16 +0200)
commite7c90418fc8acce383b1bd0e54ae1751d1a2c2c6
tree44047e1fe14723bced8c91a97b6527403103e2e5
parentf35707047e216e99052c15b04fe508d075b6121b
[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
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td