Changes between Version 2 and Version 3 of Commentary/Compiler/Backends/LLVM/ReplacingNCG


Ignore:
Timestamp:
Aug 30, 2013 1:22:41 AM (8 months ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/Backends/LLVM/ReplacingNCG

    v2 v3  
    1212 
    1313Someone should benchmark the LLVM backend against the NCG with new codegen in GHC 7.8.  It's possible that the new codegen is getting a slight boost because it doesn't have to split up proc points, so it can do better code generation for let-no-escapes. It's also possible that LLVM is being penalised a bit for the same reason. 
     14 
     15 
     16Other considerations: 
     17 
     181. The GHC distribution would need to start shipping with its own copy of LLVM. The LLVM code that GHC produces typically lags the current version of LLVM, so we'd need to ensure there was a usable version. 
     19 
     202. If we did ship our own version of LLVM, we could add custom plugins to improve the GHC generated code. At one stage Max Bolingbroke wrote an LLVM alias analysis plugin, but making it work against an arbitrary existing LLVM version would be infeasible. 
     21 
     22