llvm/mlir/unittests/Transforms/Canonicalizer.cpp

//===- DialectConversion.cpp - Dialect conversion unit tests --------------===//
//
// 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 "mlir/IR/PatternMatch.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Pass/PassManager.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "mlir/Transforms/Passes.h"
#include "gtest/gtest.h"

usingnamespacemlir;

namespace {

struct DisabledPattern : public RewritePattern {};

struct EnabledPattern : public RewritePattern {};

struct TestDialect : public Dialect {};

TEST(CanonicalizerTest, TestDisablePatterns) {}

} // end anonymous namespace