This PR uses the new op sharding mechanism in tablegen to shard the test dialect's op definitions. This breaks the definition of ops into multiple source files, speeding up compile time of the test dialect dramatically. This improves developer cycle times when iterating on the test dialect.
18 lines
558 B
C++
18 lines
558 B
C++
//===- TestOps.cpp - MLIR Test Dialect Operations ------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "TestOps.h"
|
|
#include "TestDialect.h"
|
|
#include "TestFormatUtils.h"
|
|
#include "mlir/Dialect/Arith/IR/Arith.h"
|
|
|
|
using namespace mlir;
|
|
using namespace test;
|
|
|
|
#include "TestOps.cpp.inc"
|