[Git][ghc/ghc][master] Add "ddump-cmm-opt" as alias for "ddump-opt-cmm".
Marge Bot
gitlab at gitlab.haskell.org
Thu Apr 23 03:14:30 UTC 2020
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
c29f0fa6 by Andreas Klebinger at 2020-04-22T23:14:21-04:00
Add "ddump-cmm-opt" as alias for "ddump-opt-cmm".
- - - - -
2 changed files:
- compiler/GHC/Driver/Session.hs
- docs/users_guide/debugging.rst
Changes:
=====================================
compiler/GHC/Driver/Session.hs
=====================================
@@ -2658,6 +2658,8 @@ dynamic_flags_deps = [
(setDumpFlag Opt_D_dump_cmm_info)
, make_ord_flag defGhcFlag "ddump-cmm-cps"
(setDumpFlag Opt_D_dump_cmm_cps)
+ , make_ord_flag defGhcFlag "ddump-cmm-opt"
+ (setDumpFlag Opt_D_dump_opt_cmm)
, make_ord_flag defGhcFlag "ddump-cfg-weights"
(setDumpFlag Opt_D_dump_cfg_weights)
, make_ord_flag defGhcFlag "ddump-core-stats"
@@ -2766,7 +2768,7 @@ dynamic_flags_deps = [
, make_ord_flag defGhcFlag "ddump-rn-stats"
(setDumpFlag Opt_D_dump_rn_stats)
- , make_ord_flag defGhcFlag "ddump-opt-cmm"
+ , make_ord_flag defGhcFlag "ddump-opt-cmm" --old alias for cmm-opt
(setDumpFlag Opt_D_dump_opt_cmm)
, make_ord_flag defGhcFlag "ddump-simpl-stats"
(setDumpFlag Opt_D_dump_simpl_stats)
=====================================
docs/users_guide/debugging.rst
=====================================
@@ -546,12 +546,18 @@ These flags dump various stages of the :ref:`native code generator's
<native-code-gen>` pipeline, which starts with C-\\- and produces native
assembler.
-.. ghc-flag:: -ddump-opt-cmm
+.. ghc-flag:: -ddump-cmm-opt
:shortdesc: Dump the results of C-\\- to C-\\- optimising passes
:type: dynamic
Dump the results of C-\\- to C-\\- optimising passes performed by the NCG.
+.. ghc-flag:: -ddump-opt-cmm
+ :shortdesc: Dump the results of C-\\- to C-\\- optimising passes
+ :type: dynamic
+
+ Alias for :ghc-flag:`-ddump-cmm-opt`
+
.. ghc-flag:: -ddump-asm-native
:shortdesc: Dump initial assembly
:type: dynamic
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c29f0fa6ee831ec8a223561312d7176ef87a7ece
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c29f0fa6ee831ec8a223561312d7176ef87a7ece
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200422/d650c1d2/attachment-0001.html>
More information about the ghc-commits
mailing list