diff options
author | PeixinQiao <qiaopeixin@huawei.com> | 2022-04-14 21:34:00 +0800 |
---|---|---|
committer | PeixinQiao <qiaopeixin@huawei.com> | 2022-04-14 21:34:00 +0800 |
commit | 0b55a8dc6fe81a9b3f8c67ec0b5192baa4bc80b8 (patch) | |
tree | 845c337058bb4441d664e1abb84c97a78fd5c1d0 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 0ff322246bcd5c20fdda5e6d1215ee961db2abdc (diff) | |
download | llvm-0b55a8dc6fe81a9b3f8c67ec0b5192baa4bc80b8.zip llvm-0b55a8dc6fe81a9b3f8c67ec0b5192baa4bc80b8.tar.gz llvm-0b55a8dc6fe81a9b3f8c67ec0b5192baa4bc80b8.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions