Changes between Version 5 and Version 6 of Commentary/Compiler/Backends/LLVM/DevelopmentNotes


Ignore:
Timestamp:
Jun 11, 2010 10:28:14 AM (5 years ago)
Author:
dterei
Comment:

Remove todo and put in WIP page instead

Legend:

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

    v5 v6  
    5454 
    5555 * tail call only supported on `x86`/`x86-64` and `PowerPC`. What about `SPARC`? How will we use the LLVM back-end on SPARC? 
    56  
    57  
    58 = TODO Items = 
    59  
    60  * look into lto/gold. 
    61  * Use a new Monad instead of passing `LlvmEnv` around everywhere. 
    62  * Should be able to put all `CmmProc` and `CmmData` labels in environment at start and after that, can print out LLVM IR as I generate it for each data and proc instead of storing. 
    63  * Look at using LLVM intrinsic functions. There are a few math functions. Also, there is a `smul_overflow` detect function. 
    64  * Improve Type safety of LLVM module (e.g split out pointers to own data type, to limit where they can be used). More type checking in ppr stage. 
    65  * Rearrange some functions and files better. 
    66  * handling of `LlvmVar` or `LlvmType` for function signature isn't nice. Whole function signature handling could be better really. 
    67  * {{{LlvmCodeGen.CodeGen.genCall}}} code for foreign calls is quite complex, could use a clean-up.