[Git][ghc/ghc][wip/romes/ncg-perf] Deleted 1 commit: ncg: INLINEABLE regAlloc
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Wed Jul 10 14:11:39 UTC 2024
Rodrigo Mesquita pushed to branch wip/romes/ncg-perf at Glasgow Haskell Compiler / GHC
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
Deleted commits:
7bf06120 by Rodrigo Mesquita at 2024-07-10T11:26:58+01:00
ncg: INLINEABLE regAlloc
regAlloc showed up in a time profile unspecialised, and making sure it
is specialised is noticeable in the profile.
Enabling it shaved off some 15ms compiling Cabal on my machine.
- - - - -
1 changed file:
- compiler/GHC/CmmToAsm/Reg/Linear.hs
Changes:
=====================================
compiler/GHC/CmmToAsm/Reg/Linear.hs
=====================================
@@ -189,6 +189,9 @@ regAlloc config (CmmProc static lbl live sccs)
-- bogus. to make non-exhaustive match warning go away.
regAlloc _ (CmmProc _ _ _ _)
= panic "RegAllocLinear.regAlloc: no match"
+-- regAlloc showed up in a profile unspecialised.
+-- Enabling it shaved off some 15ms compiling Cabal:
+{-# INLINEABLE regAlloc #-}
-- -----------------------------------------------------------------------------
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7bf06120705ac7fbffa5fd76c4809bf6f11d9cba
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7bf06120705ac7fbffa5fd76c4809bf6f11d9cba
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/20240710/e01ca12a/attachment.html>
More information about the ghc-commits
mailing list