This is an archive of the discontinued LLVM Phabricator instance.

[Flang] Set constructExit for Where and Forall constructs
ClosedPublic

Authored by jpenix-quic on Jul 15 2022, 9:51 AM.

Details

Summary

Evaluations for the Where and Forall constructs previously did
not have their constructExit field fixed up. This could lead to
falling through to subsequent case blocks in select case
statements if either a Where or Forall construct was the final part
of one case block. Setting the constructExit field results in the
proper branching behavior.

Fixes issue: https://github.com/llvm/llvm-project/issues/56500

Diff Detail

Event Timeline

jpenix-quic created this revision.Jul 15 2022, 9:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2022, 9:51 AM
jpenix-quic requested review of this revision.Jul 15 2022, 9:51 AM

Removing accidental whitespace change.

vdonaldson accepted this revision.Jul 15 2022, 10:16 AM
This revision is now accepted and ready to land.Jul 15 2022, 10:16 AM
This revision was automatically updated to reflect the committed changes.