This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower date_and_time and cpu_time intrinsics
ClosedPublic

Authored by clementval on Mar 15 2022, 7:57 AM.

Details

Summary

This patch lowers the cpu_time and the date_and_time instrinsics to
FIR and runtime calls.

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

Depends on D121704

Diff Detail

Event Timeline

clementval created this revision.Mar 15 2022, 7:57 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Mar 15 2022, 7:57 AM
PeteSteinfeld requested changes to this revision.Mar 15 2022, 9:36 AM

It looks like this update is missing the file .../flang/test/Lower/Intrinsics/date_and_time.f90.

This revision now requires changes to proceed.Mar 15 2022, 9:36 AM

Rebase + add missing tests

PeteSteinfeld accepted this revision.Mar 15 2022, 7:23 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 15 2022, 7:23 PM
This revision was automatically updated to reflect the committed changes.