This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower sum intrinsic
ClosedPublic

Authored by clementval on Mar 8 2022, 8:07 AM.

Details

Summary

This patch enables the lowering of the sum intrinsic. It adds
also infrastructure to deal with optional arguments in intrinsics and
implied loops.

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

Diff Detail

Event Timeline

clementval created this revision.Mar 8 2022, 8:07 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
clementval requested review of this revision.Mar 8 2022, 8:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 8:07 AM
schweitz added inline comments.Mar 8 2022, 8:32 AM
flang/unittests/Runtime/Time.cpp
13

Was this removed intentionally?

PeteSteinfeld accepted this revision.Mar 8 2022, 8:44 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 8 2022, 8:44 AM
This revision was automatically updated to reflect the committed changes.
clementval marked an inline comment as done.
clementval added inline comments.Mar 8 2022, 9:51 AM
flang/unittests/Runtime/Time.cpp
13

I'll revert it.