This is an archive of the discontinued LLVM Phabricator instance.

[Flang] Lower the infinite do loop
ClosedPublic

Authored by kiranchandramohan on May 31 2022, 6:26 AM.

Details

Summary

The basic infinite loop is lowered to a branch to the body of the
loop, and the body containing a back edge as its terminator.

Note: This is part of upstreaming from the fir-dev branch of
https://github.com/flang-compiler/f18-llvm-project.

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: V Donaldson <vdonaldson@nvidia.com>

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
kiranchandramohan requested review of this revision.May 31 2022, 6:26 AM
rovka accepted this revision.Jun 1 2022, 3:56 AM

LGTM, thanks.

This revision is now accepted and ready to land.Jun 1 2022, 3:56 AM
This revision was automatically updated to reflect the committed changes.