[flang] [clang-tools-extra] [clang] [llvm] [flang] add SYSTEM runtime and lowering intrinsics support (PR #74309)

Tom Eccles via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 09:09:07 PST 2024


================
@@ -1393,6 +1393,11 @@ static const IntrinsicInterface intrinsicSubroutine[]{
             {"get", DefaultInt, Rank::vector, Optionality::optional,
                 common::Intent::Out}},
         {}, Rank::elemental, IntrinsicClass::impureSubroutine},
+    {"system",
+        {{"command", DefaultChar, Rank::scalar},
+            {"exitstat", DefaultInt, Rank::scalar, Optionality::optional,
+                common::Intent::InOut}},
----------------
tblah wrote:

Can't this be `common::Intent::Out`? I don't think it is read from at all?

https://github.com/llvm/llvm-project/pull/74309


More information about the llvm-commits mailing list