[all-commits] [llvm/llvm-project] c2d897: [Flang] Fix parsing error on loop count compiler d...

Usman Nadeem via All-commits all-commits at lists.llvm.org
Tue Jan 17 19:16:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2d8974a89767678898f7f8a5e7caa3d527e5d56
      https://github.com/llvm/llvm-project/commit/c2d8974a89767678898f7f8a5e7caa3d527e5d56
  Author: Nadeem, Usman <mnadeem at quicinc.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/test/Parser/compiler-directives.f90

  Log Message:
  -----------
  [Flang] Fix parsing error on loop count compiler directive

Fixes: https://github.com/llvm/llvm-project/issues/58731
Fixes: https://github.com/llvm/llvm-project/issues/56678

Only handles this form which was reported: `!DIR$ LOOP COUNT (n1[, n2]...)`

Differential Revision: https://reviews.llvm.org/D141976

Change-Id: I768c8cb9f289c5fc4adee1ef8262c6d827574f27




More information about the All-commits mailing list