This is an archive of the discontinued LLVM Phabricator instance.

[Flang] Lower the FailImage Statement
ClosedPublic

Authored by kiranchandramohan on Apr 27 2022, 4:37 AM.

Details

Summary

Lowering of FailImage statement generates a runtime call and the
unreachable operation. The unreachable operation cannot terminate
a structured operation like the IF operation, hence mark as
unstructured.

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

Co-authored-by: Eric Schweitz <eschweitz@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.Apr 27 2022, 4:37 AM
This revision is now accepted and ready to land.Apr 27 2022, 4:49 AM
This revision was automatically updated to reflect the committed changes.