Spec version: Version 1.5, Revision 5, Unified January 7, 2021
The spec says (2.11, page 29):
Furthermore, these structured control-flow constructs are additionally defined to exclude all outer constructs’ continue
constructs and exclude all blocks dominated by all outer constructs’ merge blocks.
and later:
... a branch to an outer OpSwitch merge block is ...
However, the notion of an "outer" construct is not explicitly defined.
It might be reasonable to say that construct A is an outer construct for construct B if the header of A dominates the header of B.
Spec version: Version 1.5, Revision 5, Unified January 7, 2021
The spec says (2.11, page 29):
and later:
However, the notion of an "outer" construct is not explicitly defined.
It might be reasonable to say that construct A is an outer construct for construct B if the header of A dominates the header of B.