Changes between Version 17 and Version 18 of Commentary/Compiler/Backends/LLVM/WIP
- Timestamp:
- 03/21/11 23:43:28 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/Backends/LLVM/WIP
v17 v18 53 53 54 54 At the moment in the LLVM backend we always pass around the pinned STG registers as arguments for every Cmm function. A huge amount of the time though we aren't storing anything in the STG registers, they are dead really. If we can treat the correctly as dead then LLVM will have more free registers and the allocator should do a better job. We need to change the STG -> Cmm code generator to attach register liveness information at function exit points (e.g calls, jumps, returns). 55 56 e.g This [http://hackage.haskell.org/trac/ghc/ticket/4308 bug (#4308)] is as a result of this problem.
