[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / mlir / examples / minimal-opt / mlir-minimal-opt.cpp
blob8da2dd3c58b0236c8990e4faa5135719dc78cb2b
1 //===- mlir-minimal-opt.cpp -------------------------------------*- C++ -*-===//
2 //
3 // This file is licensed under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "mlir/Tools/mlir-opt/MlirOptMain.h"
11 /// This test includes the minimal amount of components for mlir-opt, that is
12 /// the CoreIR, the printer/parser, the bytecode reader/writer, the
13 /// passmanagement infrastructure and all the instrumentation.
14 int main(int argc, char **argv) {
15 mlir::DialectRegistry registry;
16 return mlir::asMainReturnCode(mlir::MlirOptMain(
17 argc, argv, "Minimal Standalone optimizer driver\n", registry));