[flang][driver]Fix broken flang-new mlir test
authorMats Petersson <mats.petersson@arm.com>
Tue, 13 Sep 2022 17:04:01 +0000 (18:04 +0100)
committerMats Petersson <mats.petersson@arm.com>
Wed, 14 Sep 2022 13:16:31 +0000 (14:16 +0100)
commitb36b27b3fc78015b1821987309955328436f60e4
treeb96098340b28b8e0a00be6b1e773e99b9a746fb3
parent244a6a76d9dfca0ffb3300254978825c932e585d
[flang][driver]Fix broken flang-new mlir test

The test was added as a .mlir file, and this extension is not
in the lit.cfg.py, so it was never run. When running it, the
file would produce an error, as semicolon is not an MLIR comment.

This adds the extension and fixes the comment start by using C++
style comments.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D133792
flang/test/Driver/emit-asm-from-mlir.mlir
flang/test/lit.cfg.py