[Git][ghc/ghc][wip/T22010] Bump spec-constr threshold to make it fire again
Jaro Reinders (@Noughtmare)
gitlab at gitlab.haskell.org
Mon Jun 26 08:27:50 UTC 2023
Jaro Reinders pushed to branch wip/T22010 at Glasgow Haskell Compiler / GHC
Commits:
b8d74979 by Jaro Reinders at 2023-06-26T10:27:44+02:00
Bump spec-constr threshold to make it fire again
- - - - -
1 changed file:
- compiler/GHC/Linker/Deps.hs
Changes:
=====================================
compiler/GHC/Linker/Deps.hs
=====================================
@@ -1,3 +1,8 @@
+-- The transition from Int to Word64 for uniques makes functions slightly larger
+-- without this GHC option some optimizations fail to fire.
+-- See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10568#note_505751
+{-# OPTIONS_GHC -fspec-constr-threshold=10000 #-}
+
{-# LANGUAGE CPP #-}
{-# LANGUAGE TupleSections, RecordWildCards #-}
{-# LANGUAGE BangPatterns #-}
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b8d74979bf335de0e39db5cd7d9a687e59f6297d
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b8d74979bf335de0e39db5cd7d9a687e59f6297d
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/20230626/f51a2d25/attachment.html>
More information about the ghc-commits
mailing list