[all-commits] [llvm/llvm-project] 684132: [flang] Add GETCWD runtime and lowering intrinsics...
jiajie zhang via All-commits
all-commits at lists.llvm.org
Wed Jun 5 21:28:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 68413219dba47104fef388364a9973b584126f42
https://github.com/llvm/llvm-project/commit/68413219dba47104fef388364a9973b584126f42
Author: jiajie zhang <56027356+JumpMasterJJ at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Command.h
M flang/include/flang/Runtime/command.h
M flang/include/flang/Runtime/magic-numbers.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Command.cpp
M flang/runtime/command.cpp
M flang/runtime/stat.h
A flang/test/Lower/Intrinsics/getcwd-function.f90
A flang/test/Lower/Intrinsics/getcwd-optional.f90
A flang/test/Lower/Intrinsics/getcwd.f90
A flang/test/Semantics/getcwd.f90
Log Message:
-----------
[flang] Add GETCWD runtime and lowering intrinsics implementation (#92746)
This patch add support of intrinsics GNU extension GETCWD
https://github.com/llvm/llvm-project/issues/84203. Some usage info and
example has been added to `flang/docs/Intrinsics.md`. The patch contains
both the lowering and the runtime code and works on both Windows and
Linux.
| System | Implmentation |
|-----------|--------------------|
| Windows | _getcwd |
| Linux |getcwd |
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