[PATCH] D123607: LowerSwitch: Avoid inserting NewDefault block

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 07:35:57 PDT 2022


ruiling added a comment.

In D123607#3445622 <https://reviews.llvm.org/D123607#3445622>, @foad wrote:

>> the extra NewDefault is causing unstructured CFG
>
> Just curious: what does "unstructured CFG" mean here? Is there an exact definition? Thanks.

The "unstructured CFG" was used to say that a CFG could not be translated to structured programming constructs like if/else/while/... I am not sure what an exact definition should be, so feel free to correct me.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123607/new/

https://reviews.llvm.org/D123607



More information about the llvm-commits mailing list