[GHC] #1811: liberate case causes code duplication
GHC
trac at galois.com
Tue Oct 30 12:12:36 EDT 2007
#1811: liberate case causes code duplication
-------------------------+--------------------------------------------------
Reporter: simonmar | Owner: igloo
Type: merge | Status: new
Priority: normal | Milestone: 6.8 branch
Component: Compiler | Version: 6.8
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-------------------------+--------------------------------------------------
Changes (by simonmar):
* owner: simonmar => igloo
Comment:
Compiling the libraries with -O2 and the above fix, gives 5% increase in
code over `-O2 -fno-liberate-case`. Yesterday I measured `-O2` as 10%
larger code over `-O2 -fno-liberate-case`, so it looks like the fix saves
5%.
However, these results don't seem to carry over to x86_64, I'm not sure
what's going on yet.
The patch could go into stable, but more investigation is still needed.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1811#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list