This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix controlSuccessor chain for select type construct
ClosedPublic

Authored by clementval on Nov 4 2022, 12:52 PM.

Details

Summary

Represent the select type statement + type guard statement
the same way the select case statement and case statement are represented.
controlSuccessor was not correctly attributed to the next type guard stmt.

Diff Detail

Event Timeline

clementval created this revision.Nov 4 2022, 12:52 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 4 2022, 12:52 PM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Nov 4 2022, 12:52 PM
PeteSteinfeld accepted this revision.Nov 4 2022, 1:46 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Nov 4 2022, 1:46 PM
vdonaldson accepted this revision.Nov 4 2022, 2:19 PM

The select rank statement + select rank case statements may need the same update.

clementval updated this revision to Diff 473413.Nov 5 2022, 3:10 AM

clang-format