[all-commits] [llvm/llvm-project] f674dd: [flang] CUDA Fortran - part 5/5: statement semantics

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 1 13:31:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f674ddc19fee67401b78f360e530bb064aa31ed8
      https://github.com/llvm/llvm-project/commit/f674ddc19fee67401b78f360e530bb064aa31ed8
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M flang/include/flang/Evaluate/traverse.h
    M flang/include/flang/Parser/tools.h
    M flang/include/flang/Semantics/semantics.h
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/CMakeLists.txt
    M flang/lib/Semantics/canonicalize-acc.cpp
    M flang/lib/Semantics/check-allocate.cpp
    A flang/lib/Semantics/check-cuda.cpp
    A flang/lib/Semantics/check-cuda.h
    M flang/lib/Semantics/check-deallocate.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/semantics.cpp
    M flang/module/__fortran_builtins.f90
    M flang/module/iso_c_binding.f90
    M flang/test/Driver/compiler_options.f90
    M flang/test/Parser/cuf-sanity-unparse.CUF
    A flang/test/Semantics/cuf04.cuf
    A flang/test/Semantics/cuf05.cuf
    A flang/test/Semantics/cuf06.cuf
    A flang/test/Semantics/cuf09.cuf
    M flang/tools/f18/CMakeLists.txt
    M flang/unittests/Runtime/Time.cpp

  Log Message:
  -----------
  [flang] CUDA Fortran - part 5/5: statement semantics

Canonicalize !$CUF KERNEL DO loop nests, similar to OpenACC/OpenMP
canonicalization.  Check statements and expressions in device contexts
for usage that isn't supported.  Add more tests, and include some
tweaks to standard modules needed to build CUDA Fortran modules.

Depends on https://reviews.llvm.org/D150159,
https://reviews.llvm.org/D150161, https://reviews.llvm.org/D150162, &
https://reviews.llvm.org/D150163.

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




More information about the All-commits mailing list