[all-commits] [llvm/llvm-project] b36b27: [flang][driver]Fix broken flang-new mlir test

Mats Petersson via All-commits all-commits at lists.llvm.org
Wed Sep 14 06:17:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b36b27b3fc78015b1821987309955328436f60e4
      https://github.com/llvm/llvm-project/commit/b36b27b3fc78015b1821987309955328436f60e4
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2022-09-14 (Wed, 14 Sep 2022)

  Changed paths:
    M flang/test/Driver/emit-asm-from-mlir.mlir
    M flang/test/lit.cfg.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list