[all-commits] [llvm/llvm-project] cf670d: [flang][openacc] Accept scalar integer expression ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Oct 17 14:41:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf670d5e56d14afa7c3e005c13588fd7b5ee75ce
      https://github.com/llvm/llvm-project/commit/cf670d5e56d14afa7c3e005c13588fd7b5ee75ce
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M flang/docs/OpenACC.md
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/test/Lower/OpenACC/acc-init.f90
    M flang/test/Semantics/OpenACC/acc-init-validity.f90
    M llvm/include/llvm/Frontend/OpenACC/ACC.td
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [flang][openacc] Accept scalar integer expression in the if clause (#69381)

Relax the parser to accept scalar integer expression in addition to
scalar logical expression. The parser now accepts scalar expression and
the semantic checks its type.




More information about the All-commits mailing list