[all-commits] [llvm/llvm-project] b448fe: [mlir][NFC] Split OpBase.td into multiple smaller ...

Kunwar Grover via All-commits all-commits at lists.llvm.org
Sat Aug 19 09:57:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b448fe0c126d45eabd6f2994559bb0124dae3113
      https://github.com/llvm/llvm-project/commit/b448fe0c126d45eabd6f2994559bb0124dae3113
  Author: Groverkss <groverkss at gmail.com>
  Date:   2023-08-19 (Sat, 19 Aug 2023)

  Changed paths:
    M mlir/include/mlir/IR/AttrTypeBase.td
    A mlir/include/mlir/IR/CommonAttrConstraints.td
    A mlir/include/mlir/IR/CommonTypeConstraints.td
    A mlir/include/mlir/IR/Constraints.td
    M mlir/include/mlir/IR/DialectBase.td
    A mlir/include/mlir/IR/Interfaces.td
    M mlir/include/mlir/IR/OpBase.td
    A mlir/include/mlir/IR/Properties.td
    A mlir/include/mlir/IR/Traits.td
    A mlir/include/mlir/IR/Utils.td

  Log Message:
  -----------
  [mlir][NFC] Split OpBase.td into multiple smaller units

This patch splits OpBase.td into smaller files, focusing on individual,
implementations of functionalities.

This patch is marked NFC, as it just splits the implementation into multiple
files and includes them back into OpBase.td, so it doesn't break anything.

Most of the patch is mechanical, with chunks of implementation being shifted
into indvidual files. The main things to look out are:
  - Classes and Definations added to Utils.td
  - Headers of files
  - Any thing that should have been split but isn't

Reviewed By: rriddle, Mogball

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




More information about the All-commits mailing list