[PATCH] D114296: [flang] Correct the argument keyword for AIMAG(Z=...)

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 22 16:13:39 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGbb0d8e4bd9bc: [flang] Correct the argument keyword for AIMAG(Z=...) (authored by klausler).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114296/new/

https://reviews.llvm.org/D114296

Files:
  flang/lib/Evaluate/intrinsics.cpp


Index: flang/lib/Evaluate/intrinsics.cpp
===================================================================
--- flang/lib/Evaluate/intrinsics.cpp
+++ flang/lib/Evaluate/intrinsics.cpp
@@ -281,7 +281,7 @@
     {"acosh", {{"x", SameFloating}}, SameFloating},
     {"adjustl", {{"string", SameChar}}, SameChar},
     {"adjustr", {{"string", SameChar}}, SameChar},
-    {"aimag", {{"x", SameComplex}}, SameReal},
+    {"aimag", {{"z", SameComplex}}, SameReal},
     {"aint", {{"a", SameReal}, MatchingDefaultKIND}, KINDReal},
     {"all", {{"mask", SameLogical, Rank::array}, OptionalDIM}, SameLogical,
         Rank::dimReduced, IntrinsicClass::transformationalFunction},


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114296.389062.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211123/ea6c8d54/attachment.bin>


More information about the llvm-commits mailing list