[all-commits] [llvm/llvm-project] a560ee: [Flang] Set constructExit for Where and Forall con...
jpenix-quic via All-commits
all-commits at lists.llvm.org
Fri Jul 15 12:34:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a560eea8bb4d32b630fcdc7e22aef7cc11761d26
https://github.com/llvm/llvm-project/commit/a560eea8bb4d32b630fcdc7e22aef7cc11761d26
Author: Jonathon Penix <jpenix at quicinc.com>
Date: 2022-07-15 (Fri, 15 Jul 2022)
Changed paths:
M flang/lib/Lower/PFTBuilder.cpp
M flang/test/Lower/select-case-statement.f90
Log Message:
-----------
[Flang] Set constructExit for Where and Forall constructs
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
Differential Revision: https://reviews.llvm.org/D129879
Change-Id: Ia868df12084520a935f087524e118bcdf47f6d7a
More information about the All-commits
mailing list