[all-commits] [llvm/llvm-project] 7c8ef7: [flang] add SYSTEM runtime and lowering intrinsics...
Yi Wu via All-commits
all-commits at lists.llvm.org
Mon Jan 29 08:34:16 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c8ef76500b40c3b7cb65b839b61345b713aeb5a
https://github.com/llvm/llvm-project/commit/7c8ef76500b40c3b7cb65b839b61345b713aeb5a
Author: Yi Wu <43659785+yi-wu-arm at users.noreply.github.com>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
A flang/test/Lower/Intrinsics/system-optional.f90
A flang/test/Lower/Intrinsics/system.f90
M flang/unittests/Runtime/CommandTest.cpp
Log Message:
-----------
[flang] add SYSTEM runtime and lowering intrinsics support (#74309)
Calls std::system() function and pass the command,
cmd on Windows or shell on Linux.
Command parameter is required, exitstatus is optional.
call system(command)
call system(command, exitstatus)
It calls `execute_command_line` runtime function with `wait` set to true.
---------
Co-authored-by: Yi Wu <yiwu02 at wdev-yiwu02.arm.com>
More information about the All-commits
mailing list