summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Config
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-02-22 16:19:40 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-25 21:11:33 -0500
commitcddb040ac178ee0a996ac83baef48710bf88e5b2 (patch)
tree23adf666193f17be79c601724472e4331f0c9b84 /compiler/GHC/Driver/Config
parentf35aca4d0612063155792587482a7905981c7070 (diff)
downloadhaskell-cddb040ac178ee0a996ac83baef48710bf88e5b2.tar.gz
Ticky: Gate tag-inference dummy ticky-counters behind a flag.
Tag inference included a way to collect stats about avoided tag-checks. This was dony by emitting "dummy" ticky entries with counts corresponding to predicted/unpredicated tag checks. This behaviour for ticky is now gated behind -fticky-tag-checks. I also documented ticky-LNE in the process.
Diffstat (limited to 'compiler/GHC/Driver/Config')
-rw-r--r--compiler/GHC/Driver/Config/StgToCmm.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Config/StgToCmm.hs b/compiler/GHC/Driver/Config/StgToCmm.hs
index ab64076a79..4b0e126f98 100644
--- a/compiler/GHC/Driver/Config/StgToCmm.hs
+++ b/compiler/GHC/Driver/Config/StgToCmm.hs
@@ -29,6 +29,7 @@ initStgToCmmConfig dflags mod = StgToCmmConfig
, stgToCmmTickyAllocd = gopt Opt_Ticky_Allocd dflags
, stgToCmmTickyLNE = gopt Opt_Ticky_LNE dflags
, stgToCmmTickyDynThunk = gopt Opt_Ticky_Dyn_Thunk dflags
+ , stgToCmmTickyTag = gopt Opt_Ticky_Tag dflags
-- flags
, stgToCmmLoopification = gopt Opt_Loopification dflags
, stgToCmmAlignCheck = gopt Opt_AlignmentSanitisation dflags