[all-commits] [llvm/llvm-project] 8a7a71: [mlir] somewhat decompose TestDialect.cpp

ftynse via All-commits all-commits at lists.llvm.org
Thu Jul 27 04:36:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a7a7137ff60d268bc7e67845e54baa9a5878cb1
      https://github.com/llvm/llvm-project/commit/8a7a7137ff60d268bc7e67845e54baa9a5878cb1
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M mlir/test/lib/Dialect/Test/CMakeLists.txt
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.td
    A mlir/test/lib/Dialect/Test/TestDialectInterfaces.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    A mlir/test/lib/Dialect/Test/TestOpsSyntax.cpp
    A mlir/test/lib/Dialect/Test/TestOpsSyntax.h
    A mlir/test/lib/Dialect/Test/TestOpsSyntax.td
    M mlir/unittests/IR/AdaptorTest.cpp
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  [mlir] somewhat decompose TestDialect.cpp

TestDialect.cpp along with the ODS-generated files amounts to around
100k LoC and takes a significant amount of time to compile. Factor out
the test ops related to testing the sytnax and assembly format, which
are a relatively large and well delimited group, into a separate set of
files.

Also factor out dialect interfaces into a separate file.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list