summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Flags.hs
diff options
context:
space:
mode:
authorGergo ERDI <gergo@erdi.hu>2021-11-16 11:16:20 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-25 05:01:59 -0500
commitbe0a9470ad76f7dc63e05a84215a2a4d0fd833fd (patch)
tree58a98d21fa1963260e1b9ededf4ab249680cd49c /compiler/GHC/Driver/Flags.hs
parentc9cead1ff7c5d3304543d52522ef4da96b802652 (diff)
downloadhaskell-be0a9470ad76f7dc63e05a84215a2a4d0fd833fd.tar.gz
Add specific optimization flag for Cmm control flow analysis (#20500)
Diffstat (limited to 'compiler/GHC/Driver/Flags.hs')
-rw-r--r--compiler/GHC/Driver/Flags.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Flags.hs b/compiler/GHC/Driver/Flags.hs
index 341851c81b..e7205a8620 100644
--- a/compiler/GHC/Driver/Flags.hs
+++ b/compiler/GHC/Driver/Flags.hs
@@ -212,6 +212,7 @@ data GeneralFlag
| Opt_CmmSink
| Opt_CmmStaticPred
| Opt_CmmElimCommonBlocks
+ | Opt_CmmControlFlow
| Opt_AsmShortcutting
| Opt_OmitYields
| Opt_FunToThunk -- allow GHC.Core.Opt.WorkWrap.Utils.mkWorkerArgs to remove all value lambdas