llvm-project/flang/unittests/Evaluate
PeixinQiao 0b55a8dc6f [flang] Fix intrinsic interface for DIMAG/DCONJG
The intrinsics DREAL, DIMAG, and DCONJG are from Fortran 77 extensions.
For DREAL, the type of argument is extended to any complex. For DIMAG
and DCONJG, the type of argument for them should be complex(8). For DIMAG,
the result type should be real(8). For DCONJG, the result type should be
complex(8). Fix the intrinsic interface for them and add test cases for
the semantic checks and the lowering.

Reviewed By: Jean Perier

Differential Revision: https://reviews.llvm.org/D123459
2022-04-14 21:34:00 +08:00
..
CMakeLists.txt [flang] Fix build with BUILD_SHARED_LIBS=ON and FLANG_BUILD_NEW_DRIVER=ON 2020-10-15 13:03:55 +02:00
ISO-Fortran-binding.cpp [flang] Move runtime API headers to flang/include/flang/Runtime 2021-09-03 11:08:34 -07:00
bit-population-count.cpp [flang] Create a separate directory for unittests 2020-03-13 11:58:11 +00:00
expression.cpp [flang] Create a separate directory for unittests 2020-03-13 11:58:11 +00:00
folding.cpp [flang] Rework host runtime folding and enable REAL(2) folding with it. 2020-10-14 16:40:44 +02:00
fp-testing.cpp [flang] Fix setting mxcsr on MSVC 2020-07-08 07:25:25 -05:00
fp-testing.h [flang] Fix setting mxcsr on MSVC 2020-07-08 07:25:25 -05:00
integer.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
intrinsics.cpp [flang] Fix intrinsic interface for DIMAG/DCONJG 2022-04-14 21:34:00 +08:00
leading-zero-bit-count.cpp [flang] Create a separate directory for unittests 2020-03-13 11:58:11 +00:00
logical.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
real.cpp [flang] Fix float-number representation bug 2022-04-14 21:28:30 +08:00
reshape.cpp [flang] Move runtime API headers to flang/include/flang/Runtime 2021-09-03 11:08:34 -07:00
testing.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
testing.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
uint128.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00