[all-commits] [llvm/llvm-project] 2def46: [mlir][test] Shard and reorganize the test dialect

Jeff Niu via All-commits all-commits at lists.llvm.org
Fri Apr 19 10:52:05 PDT 2024


  Branch: refs/heads/users/mogball/pr_2
  Home:   https://github.com/llvm/llvm-project
  Commit: 2def46c947500e47bd5303c2bf004161c4d04558
      https://github.com/llvm/llvm-project/commit/2def46c947500e47bd5303c2bf004161c4d04558
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M mlir/test/lib/Analysis/DataFlow/TestDenseBackwardDataFlowAnalysis.cpp
    M mlir/test/lib/Analysis/DataFlow/TestDenseForwardDataFlowAnalysis.cpp
    M mlir/test/lib/Conversion/FuncToLLVM/TestConvertCallOp.cpp
    M mlir/test/lib/Conversion/OneToNTypeConversion/TestOneToNTypeConversionPass.cpp
    M mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
    M mlir/test/lib/Dialect/DLTI/TestDataLayoutQuery.cpp
    M mlir/test/lib/Dialect/Func/TestDecomposeCallGraphTypes.cpp
    M mlir/test/lib/Dialect/Test/CMakeLists.txt
    M mlir/test/lib/Dialect/Test/TestAttributes.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.h
    M mlir/test/lib/Dialect/Test/TestDialectInterfaces.cpp
    A mlir/test/lib/Dialect/Test/TestFormatUtils.cpp
    A mlir/test/lib/Dialect/Test/TestFormatUtils.h
    M mlir/test/lib/Dialect/Test/TestFromLLVMIRTranslation.cpp
    M mlir/test/lib/Dialect/Test/TestInterfaces.cpp
    M mlir/test/lib/Dialect/Test/TestInterfaces.h
    A mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    A mlir/test/lib/Dialect/Test/TestOps.cpp
    A mlir/test/lib/Dialect/Test/TestOps.h
    M mlir/test/lib/Dialect/Test/TestOpsSyntax.cpp
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp
    M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
    M mlir/test/lib/Dialect/Test/TestTraits.cpp
    M mlir/test/lib/Dialect/Test/TestTypes.cpp
    M mlir/test/lib/Dialect/Test/TestTypes.h
    M mlir/test/lib/IR/TestBytecodeRoundtrip.cpp
    M mlir/test/lib/IR/TestClone.cpp
    M mlir/test/lib/IR/TestSideEffects.cpp
    M mlir/test/lib/IR/TestSymbolUses.cpp
    M mlir/test/lib/IR/TestTypes.cpp
    M mlir/test/lib/IR/TestVisitorsGeneric.cpp
    M mlir/test/lib/Pass/TestPassManager.cpp
    M mlir/test/lib/Transforms/TestInlining.cpp
    M mlir/test/lib/Transforms/TestMakeIsolatedFromAbove.cpp
    M mlir/unittests/IR/AdaptorTest.cpp
    M mlir/unittests/IR/IRMapping.cpp
    M mlir/unittests/IR/InterfaceAttachmentTest.cpp
    M mlir/unittests/IR/InterfaceTest.cpp
    M mlir/unittests/IR/OperationSupportTest.cpp
    M mlir/unittests/IR/PatternMatchTest.cpp
    M mlir/unittests/TableGen/OpBuildGen.cpp
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  [mlir][test] Shard and reorganize the test dialect

Shard the test dialect by 4. This patch also reorganizes the manually-written
op hooks into `TestOpDefs.cpp` and format custom directive parser and printers
into `TestFormatUtils`, adds missing comment blocks, and moves around where
generated source files are included for types, attributes, enums, etc.

In my case, the compilation time of the test dialect drops from >60s to ~10s.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list