On 10/27/11 06:41 PM, Dmitry N. Mikushin wrote: > Hello, > > According to google, it has been a while since last discussion about > llvm and whirl interop. Are there any ongoing efforts in open64 > community on that? I'm tentatively interested in performing IR->whirl > translation to target open64-supported backends. I'd also appreciate > opinions about complexity of such task, as soon as my personal > understanding of both representations is very rough. Hi Dima,
1) Check google for 2 docs called whirl.pdf and symtab.pdf # This will cover whirl, but I'm not sure of any docs for CG IR - Someone else can chime in if such a thing exists, but it may be inline in the code. 2) LLVM IR is roughly on the same level as CG IR. If you approach it from this perspective you can easily get a one way flow of code from LLVM to CGIR. Check src/be/cg/whirl2ops.cxx for how VL WHIRL is lowered to CG IR as a potential example. -------- My personal perspective is 1) Many things about cg suck and don't use it (Tons of #if hacks, complicated heuristics which make tuning almost a black art, possibly outdated regalloc, scheduling could be improved and other things..) 2) If this is not Itanic related you may be interested to check out Path64[1]. a. cmake based build system that could possibly play nice with LLVM's cmake and is imho just flat better than Open64. b. Better OS and ABI portability. c. Less hacks/cleaner code if we have the targets you're interested in. d. Much smaller codebase and easier time to use github when merging changes back upstream e. Community of people to help if you get stuck (Our own mailing lists, irc, issue tracker.. etc) If it's GPU related or you're interested in our work to fix cg ping me off list. Best, Christopher [1] Main compiler code https://github.com/path64/compiler - meta parent package to actually build the sources https://github.com/pathscale/path64-suite # README ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel