blob: 3cf31e415133bd65e6726749409191cba295f423 [file] [log] [blame]
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -07001// Copyright 2020 The IREE Authors
Marius Brehler406fead2020-03-03 11:05:28 -08002//
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -07003// 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
Marius Brehler406fead2020-03-03 11:05:28 -08006
7// Main entry function for iree-opt and derived binaries.
8//
Geoffrey Martin-Noblee4b95e02020-11-04 20:33:16 -08009// Based on mlir-opt but registers the passes and dialects we care about.
Marius Brehler406fead2020-03-03 11:05:28 -080010
Stella Laurenzo309dc5b2023-02-22 23:07:43 -080011#include "iree/compiler/tool_entry_points_api.h"
Marius Brehler406fead2020-03-03 11:05:28 -080012
Stella Laurenzo7ec09ce2022-11-24 11:13:52 -080013int main(int argc, char **argv) { return ireeOptRunMain(argc, argv); }