[flang-commits] [flang] [flang][OpenACC] Generalize cross-region GOTO exit handling for all ACC region ops (PR #187613)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Tue Mar 24 06:14:55 PDT 2026
================
@@ -1609,6 +1609,20 @@ class FirConverter : public Fortran::lower::AbstractConverter {
void genBranch(mlir::Block *targetBlock) {
assert(targetBlock && "missing unconditional target block");
+ if (!accRegionExitStack.empty()) {
----------------
eugeneepshteyn wrote:
Question: would such change also apply to `genConditionalBranch()`?
https://github.com/llvm/llvm-project/pull/187613
More information about the flang-commits
mailing list