llvm-project/flang/unittests/Optimizer
vdonaldson 70ade047a4
[flang] system_clock intrinsic calls with dynamically optional arguments
system_clock intrinsic calls with dynamically optional arguments

Modify intrinsic system_clock calls to allow for an argument that is optional
or a disassociated pointer or an unallocated allocatable.  A call with such an
argument is the same as a call that does not specify that argument.

Rename (genIsNotNull -> genIsNotNullAddr) and (genIsNull -> genIsNullAddr)
and add a use of genIsNotNullAddr.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D127616

Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
2022-06-13 17:33:28 +02:00
..
Builder [flang] system_clock intrinsic calls with dynamically optional arguments 2022-06-13 17:33:28 +02:00
CMakeLists.txt [flang] Upstream partial lowering of EXIT intrinsic 2022-02-01 17:48:51 +00:00
FIRContextTest.cpp [flang][fir] Update flang test tool support classes. 2021-02-19 16:02:39 -08:00
InternalNamesTest.cpp [fir][NFC] Add two negative tests for needExternalNameMangling 2021-10-12 09:25:23 +02:00
KindMappingTest.cpp [flang][fir] Update flang test tool support classes. 2021-02-19 16:02:39 -08:00
RTBuilder.cpp [flang][NFC] Remove old RTBuilder.h 2022-03-09 20:57:39 +01:00