[GHC] #7192: Bug in -fregs-graph with -fnew-codegen
GHC
cvs-ghc at haskell.org
Tue Nov 13 14:30:33 CET 2012
#7192: Bug in -fregs-graph with -fnew-codegen
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: benl
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking: 4258
Related: |
---------------------------------+------------------------------------------
Comment(by marlowsd@…):
commit 4270d7e7485b124dd153399dfe3f571253dc0d1d
{{{
Author: Simon Marlow <marlowsd at gmail.com>
Date: Tue Nov 13 11:43:09 2012 +0000
Fix the Slow calling convention (#7192)
The Slow calling convention passes the closure in R1, but we were
ignoring this and hoping it would work, which it often did. However,
this bug seems to have been the cause of #7192, because the
graph-colouring allocator is more sensitive to having correct liveness
information on jumps.
compiler/cmm/CmmCallConv.hs | 6 +++---
compiler/cmm/CmmParse.y | 2 +-
compiler/cmm/MkGraph.hs | 32 ++++++++------------------------
compiler/codeGen/StgCmmBind.hs | 21 +++++++++++----------
compiler/codeGen/StgCmmExpr.hs | 4 ++--
compiler/codeGen/StgCmmHeap.hs | 12 ++++--------
compiler/codeGen/StgCmmLayout.hs | 2 +-
7 files changed, 30 insertions(+), 49 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7192#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list