[all-commits] [llvm/llvm-project] 51b6f6: [flang][OpenMP] Avoid unnecessary parsing of OpenM...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Tue Jul 15 07:06:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51b6f64b892bf57879389e7031051a3922aa5061
      https://github.com/llvm/llvm-project/commit/51b6f64b892bf57879389e7031051a3922aa5061
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/parse-tree.cpp
    M flang/lib/Parser/program-parsers.cpp
    M flang/lib/Parser/type-parsers.h
    M flang/test/Parser/OpenMP/fail-construct1.f90

  Log Message:
  -----------
  [flang][OpenMP] Avoid unnecessary parsing of OpenMP constructs (#148629)

When parsing a specification part, the parser will look ahead to see if
the next construct is an executable construct. In doing so it will
invoke OpenMPConstruct parser, whereas the only necessary thing to check
would be the directive alone.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list