[all-commits] [llvm/llvm-project] 71e026: [flang][runtime] Added Fortran::common::optional f...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Fri Mar 15 14:26:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71e0261fb0c6c382f68eedddf6bbcf637e6709f2
      https://github.com/llvm/llvm-project/commit/71e0261fb0c6c382f68eedddf6bbcf637e6709f2
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    A flang/include/flang/Common/optional.h
    M flang/include/flang/Runtime/type-code.h
    M flang/runtime/connection.h
    M flang/runtime/descriptor-io.cpp
    M flang/runtime/descriptor-io.h
    M flang/runtime/edit-input.cpp
    M flang/runtime/environment.cpp
    M flang/runtime/environment.h
    M flang/runtime/extrema.cpp
    M flang/runtime/file.cpp
    M flang/runtime/file.h
    M flang/runtime/format-implementation.h
    M flang/runtime/format.h
    M flang/runtime/io-api.cpp
    M flang/runtime/io-stmt.cpp
    M flang/runtime/io-stmt.h
    M flang/runtime/matmul-transpose.cpp
    M flang/runtime/matmul.cpp
    M flang/runtime/misc-intrinsic.cpp
    M flang/runtime/namelist.cpp
    M flang/runtime/random-templates.h
    M flang/runtime/random.cpp
    M flang/runtime/tools.h
    M flang/runtime/type-code.cpp
    M flang/runtime/type-info.cpp
    M flang/runtime/type-info.h
    M flang/runtime/unit-map.cpp
    M flang/runtime/unit.cpp
    M flang/runtime/unit.h
    M flang/runtime/utf.cpp
    M flang/runtime/utf.h

  Log Message:
  -----------
  [flang][runtime] Added Fortran::common::optional for use on device.

This is a simplified implementation of std::optional that can be used
in the offload builds for the device code. The methods are properly
marked with RT_API_ATTRS so that the device compilation succedes.

Reviewers: klausler, jeanPerier

Reviewed By: jeanPerier

Pull Request: https://github.com/llvm/llvm-project/pull/85177



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