[flang-commits] [flang] bb0d8e4 - [flang] Correct the argument keyword for AIMAG(Z=...)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Mon Nov 22 16:13:30 PST 2021
Author: Peter Klausler
Date: 2021-11-22T16:13:21-08:00
New Revision: bb0d8e4bd9bc9426a5092368f086f52293dcc186
URL: https://github.com/llvm/llvm-project/commit/bb0d8e4bd9bc9426a5092368f086f52293dcc186
DIFF: https://github.com/llvm/llvm-project/commit/bb0d8e4bd9bc9426a5092368f086f52293dcc186.diff
LOG: [flang] Correct the argument keyword for AIMAG(Z=...)
It was X= in the intrinsics table.
Differential Revision: https://reviews.llvm.org/D114296
Added:
Modified:
flang/lib/Evaluate/intrinsics.cpp
Removed:
################################################################################
diff --git a/flang/lib/Evaluate/intrinsics.cpp b/flang/lib/Evaluate/intrinsics.cpp
index bd17fd6aae821..39e901c4c7763 100644
--- a/flang/lib/Evaluate/intrinsics.cpp
+++ b/flang/lib/Evaluate/intrinsics.cpp
@@ -281,7 +281,7 @@ static const IntrinsicInterface genericIntrinsicFunction[]{
{"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},
More information about the flang-commits
mailing list