[all-commits] [llvm/llvm-project] 2b86fb: [flang][runtime] Avoid recursive calls in F18 runt...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Apr 2 21:04:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b86fb21f8402f19da7e5887a9572b3d55052991
      https://github.com/llvm/llvm-project/commit/2b86fb21f8402f19da7e5887a9572b3d55052991
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M flang/include/flang/Common/api-attrs.h
    M flang/runtime/descriptor-io.h
    M flang/runtime/edit-output.cpp
    M flang/runtime/emit-encoded.h
    M flang/runtime/io-stmt.cpp
    M flang/runtime/io-stmt.h
    M flang/runtime/unit.cpp
    M flang/runtime/unit.h

  Log Message:
  -----------
  [flang][runtime] Avoid recursive calls in F18 runtime CUDA build. (#87428)

Recurrencies in the call graph (even if they are not executed)
prevent computing the minimal stack size required for a kernel
execution. This change disables some functionality of F18 IO
to avoid recursive calls. A couple of functions are rewritten
to work without using recursion.



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