#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Mesh/IR/MeshDialect.h"
#include "mlir/Dialect/Mesh/Transforms/Simplifications.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
usingnamespacemlir;
namespace {
struct TestMeshSimplificationsPass
: public PassWrapper<TestMeshSimplificationsPass, OperationPass<>> { … };
}
void TestMeshSimplificationsPass::runOnOperation() { … }
namespace mlir {
namespace test {
void registerTestMeshSimplificationsPass() { … }
}
}