[Flang][Driver] Add support for AsmPrinter -mmlir options
authorPrabhdeep Singh Soni <prabhdeep.singh.soni2@huawei.com>
Wed, 27 Jul 2022 20:09:24 +0000 (16:09 -0400)
committerArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>
Wed, 27 Jul 2022 20:11:11 +0000 (16:11 -0400)
commit79a5ff45cbda0c3b06b9a566c90407c7264c8692
tree65b8030ad8f177be147bc6d24611e4fc6f603760
parent41f7bb9975bcaffae0267fa87b63c90b83ffd551
[Flang][Driver] Add support for AsmPrinter -mmlir options

This patch adds support for AsmPrinter  `-mmlir` options to the Flang driver.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D130598
flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
flang/test/Driver/mmlir-opts.f90 [new file with mode: 0644]