Changes between Version 2 and Version 3 of LlvmBackend


Ignore:
Timestamp:
Aug 17, 2009 2:48:10 PM (6 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LlvmBackend

    v2 v3  
    5858
    5959This is something I am currently investigating. I think at the moment that using both EHC's LLVM module and the LLVM Bindings would be best. My main concern with the LLVM bindings is that I'm not sure how well it could handle representing the LLVM IR during translation from ''!CmmStmts''. This is, I need a representation of the LLVM IR to work with during translation from ''!CmmStmts'' that can be easily built up and changed (an abstract syntax form of LLVM IR). However instead of pretty printing it to LLVM Assembly, it would be ''pretty printed'' to LLVM Bitcode using the LLVM Bindings.
     60
     61As I may end up only using a small part of the LLVM Bindings then it will need to be decided eventually if its worth including them with GHC or extracting just the parts needed for inclusion.