[all-commits] [llvm/llvm-project] 1d4238: [flang] Support GNU extensions IARGC and GETARG in...
PeixinQiao via All-commits
all-commits at lists.llvm.org
Mon Oct 10 19:32:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d4238be528acdd8a521465e93ed6a6238a2cd4e
https://github.com/llvm/llvm-project/commit/1d4238be528acdd8a521465e93ed6a6238a2cd4e
Author: Peixin-Qiao <qiaopeixin at huawei.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M flang/include/flang/Runtime/extensions.h
M flang/runtime/extensions.cpp
Log Message:
-----------
[flang] Support GNU extensions IARGC and GETARG in runtime
The GNU extension intrinsic IARGC is equivalent to
COMMAND_ARGUMENT_COUNT, and the GETARG is similar to
GET_COMMAND_ARGUMENT, but with less arguments. Reuse the runtime of
COMMAND_ARGUMENT_COUNT and GET_COMMAND_ARGUMENT for IARGC and GETARG.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D133558
More information about the All-commits
mailing list