#2790: Use -fregs-graph by default
---------------------------------+------------------------------------------
Reporter: igloo | Owner: benl
Type: task | Status: assigned
Priority: high | Milestone: 6.12.1
Component: Compiler | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by benl):
Ok, the reason the graph allocator is so slow now is because I broke it
when I split NCG/MachCodeGen into architecture specific modules. When I
did that I moved the SPILL and RELOAD meta-instructions into
Liveness.hs/LiveInstr. In doing so I made it so the spill cleaner never
gets a chance to clean them.. so if any virtual reg needs to be spilled,
there ends up being a spill/reload instruction after/before every use.
I didn't pick it up at the time because it all still _works_, there just
ends up being more spill/reloads than needed. I'm working on a fix, but it
probably won't be done for the RC.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2790#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs